macromem.cc (12104:edd63f9c6184) | macromem.cc (13544:0b4e5446167c) |
---|---|
1/* 2 * Copyright (c) 2010-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 549 unchanged lines hidden (view full) --- 558 RegIndex rm, unsigned lane) : 559 PredMacroOp(mnem, machInst, __opClass) 560{ 561 assert(regs > 0 && regs <= 4); 562 assert(regs % elems == 0); 563 564 unsigned eBytes = (1 << size); 565 unsigned loadSize = eBytes * elems; | 1/* 2 * Copyright (c) 2010-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 549 unchanged lines hidden (view full) --- 558 RegIndex rm, unsigned lane) : 559 PredMacroOp(mnem, machInst, __opClass) 560{ 561 assert(regs > 0 && regs <= 4); 562 assert(regs % elems == 0); 563 564 unsigned eBytes = (1 << size); 565 unsigned loadSize = eBytes * elems; |
566 unsigned loadRegs M5_VAR_USED = (loadSize + sizeof(FloatRegBits) - 1) / 567 sizeof(FloatRegBits); | 566 unsigned loadRegs M5_VAR_USED = 567 (loadSize + sizeof(uint32_t) - 1) / sizeof(uint32_t); |
568 569 assert(loadRegs > 0 && loadRegs <= 4); 570 571 numMicroops = 1; 572 bool wb = (rm != 15); 573 574 if (wb) numMicroops++; 575 numMicroops += (regs / elems); --- 346 unchanged lines hidden (view full) --- 922 PredMacroOp(mnem, machInst, __opClass) 923{ 924 assert(!all); 925 assert(regs > 0 && regs <= 4); 926 assert(regs % elems == 0); 927 928 unsigned eBytes = (1 << size); 929 unsigned storeSize = eBytes * elems; | 568 569 assert(loadRegs > 0 && loadRegs <= 4); 570 571 numMicroops = 1; 572 bool wb = (rm != 15); 573 574 if (wb) numMicroops++; 575 numMicroops += (regs / elems); --- 346 unchanged lines hidden (view full) --- 922 PredMacroOp(mnem, machInst, __opClass) 923{ 924 assert(!all); 925 assert(regs > 0 && regs <= 4); 926 assert(regs % elems == 0); 927 928 unsigned eBytes = (1 << size); 929 unsigned storeSize = eBytes * elems; |
930 unsigned storeRegs M5_VAR_USED = (storeSize + sizeof(FloatRegBits) - 1) / 931 sizeof(FloatRegBits); | 930 unsigned storeRegs M5_VAR_USED = 931 (storeSize + sizeof(uint32_t) - 1) / sizeof(uint32_t); |
932 933 assert(storeRegs > 0 && storeRegs <= 4); 934 935 numMicroops = 1; 936 bool wb = (rm != 15); 937 938 if (wb) numMicroops++; 939 numMicroops += (regs / elems); --- 688 unchanged lines hidden --- | 932 933 assert(storeRegs > 0 && storeRegs <= 4); 934 935 numMicroops = 1; 936 bool wb = (rm != 15); 937 938 if (wb) numMicroops++; 939 numMicroops += (regs / elems); --- 688 unchanged lines hidden --- |