1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 54 unchanged lines hidden (view full) ---
63 srcSize(_srcSize), destSize(_destSize), ext(_ext)
64 {}
65
66 bool
67 scalarOp() const
68 {
69 return ext & MediaScalarOp;
70 }
71
72 int
73 numItems(int size) const
74 {
75 return scalarOp() ? 1 : (sizeof(FloatRegBits) / size);
76 }
77
78 bool
79 multHi() const
--- 55 unchanged lines hidden ---
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 54 unchanged lines hidden (view full) ---
63 srcSize(_srcSize), destSize(_destSize), ext(_ext)
64 {}
65
66 bool
67 scalarOp() const
68 {
69 return ext & MediaScalarOp;
70 }
71
72 int
73 numItems(int size) const
74 {
75 return scalarOp() ? 1 : (sizeof(FloatRegBits) / size);
76 }
77
78 bool
79 multHi() const
--- 55 unchanged lines hidden ---