mediaop.isa (6622:aff9a522956a) mediaop.isa (6732:4b93003bb069)
1/// Copyright (c) 2009 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

--- 1223 unchanged lines hidden (view full) ---

1232 if (ext & 0x4) {
1233 if (arg >= 0)
1234 arg += 0.5;
1235 else
1236 arg -= 0.5;
1237 }
1238
1239 if (destSize == 4) {
1/// Copyright (c) 2009 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

--- 1223 unchanged lines hidden (view full) ---

1232 if (ext & 0x4) {
1233 if (arg >= 0)
1234 arg += 0.5;
1235 else
1236 arg -= 0.5;
1237 }
1238
1239 if (destSize == 4) {
1240 argBits = (uint32_t)(float)arg;
1240 argBits = (uint32_t)arg;
1241 } else {
1242 argBits = (uint64_t)arg;
1243 }
1244 int destHiIndex = destStart + (i + 1) * destSizeBits - 1;
1245 int destLoIndex = destStart + (i + 0) * destSizeBits;
1246 result = insertBits(result, destHiIndex, destLoIndex, argBits);
1247 }
1248 FpDestReg.uqw = result;

--- 306 unchanged lines hidden ---
1241 } else {
1242 argBits = (uint64_t)arg;
1243 }
1244 int destHiIndex = destStart + (i + 1) * destSizeBits - 1;
1245 int destLoIndex = destStart + (i + 0) * destSizeBits;
1246 result = insertBits(result, destHiIndex, destLoIndex, argBits);
1247 }
1248 FpDestReg.uqw = result;

--- 306 unchanged lines hidden ---