micromediaop.hh (13611:c8b7847b4171) | micromediaop.hh (13613:a19963be12ca) |
---|---|
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; --- 58 unchanged lines hidden (view full) --- 67 scalarOp() const 68 { 69 return ext & MediaScalarOp; 70 } 71 72 int 73 numItems(int size) const 74 { | 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; --- 58 unchanged lines hidden (view full) --- 67 scalarOp() const 68 { 69 return ext & MediaScalarOp; 70 } 71 72 int 73 numItems(int size) const 74 { |
75 return scalarOp() ? 1 : (sizeof(FloatReg) / size); | 75 return scalarOp() ? 1 : (sizeof(uint64_t) / size); |
76 } 77 78 bool 79 multHi() const 80 { 81 return ext & MediaMultHiOp; 82 } 83 --- 51 unchanged lines hidden --- | 76 } 77 78 bool 79 multHi() const 80 { 81 return ext & MediaMultHiOp; 82 } 83 --- 51 unchanged lines hidden --- |