decoder.isa (8342:77d12d8f7971) | decoder.isa (8450:40e10746b049) |
---|---|
1// Copyright (c) 2006-2007 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 --- 1111 unchanged lines hidden (view full) --- 1120 // the member variable that throws confuses it. 1121 Twin32_t temp; 1122 temp.a = RdLow<31:0>; 1123 temp.b = RdHigh<31:0>; 1124 Mem.tuw = temp; 1125 }}); 1126 } 1127 format Load { | 1// Copyright (c) 2006-2007 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 --- 1111 unchanged lines hidden (view full) --- 1120 // the member variable that throws confuses it. 1121 Twin32_t temp; 1122 temp.a = RdLow<31:0>; 1123 temp.b = RdHigh<31:0>; 1124 Mem.tuw = temp; 1125 }}); 1126 } 1127 format Load { |
1128 0x08: ldsw({{Rd = (int32_t)Mem.sw;}}); 1129 0x09: ldsb({{Rd = (int8_t)Mem.sb;}}); 1130 0x0A: ldsh({{Rd = (int16_t)Mem.shw;}}); 1131 0x0B: ldx({{Rd = (int64_t)Mem.sdw;}}); | 1128 0x08: ldsw({{Rd = Mem.sw;}}); 1129 0x09: ldsb({{Rd = Mem.sb;}}); 1130 0x0A: ldsh({{Rd = Mem.shw;}}); 1131 0x0B: ldx({{Rd = Mem.sdw;}}); |
1132 } 1133 0x0D: Swap::ldstub({{Mem.ub = 0xFF;}}, 1134 {{ 1135 uint8_t tmp = mem_data; 1136 Rd.ub = tmp; 1137 }}, MEM_SWAP); 1138 0x0E: Store::stx({{Mem.udw = Rd}}); 1139 0x0F: Swap::swap({{Mem.uw = Rd.uw}}, --- 78 unchanged lines hidden (view full) --- 1218 // the member variable that throws confuses it. 1219 Twin32_t temp; 1220 temp.a = RdLow<31:0>; 1221 temp.b = RdHigh<31:0>; 1222 Mem.tuw = temp; 1223 }}); 1224 } 1225 format LoadAlt { | 1132 } 1133 0x0D: Swap::ldstub({{Mem.ub = 0xFF;}}, 1134 {{ 1135 uint8_t tmp = mem_data; 1136 Rd.ub = tmp; 1137 }}, MEM_SWAP); 1138 0x0E: Store::stx({{Mem.udw = Rd}}); 1139 0x0F: Swap::swap({{Mem.uw = Rd.uw}}, --- 78 unchanged lines hidden (view full) --- 1218 // the member variable that throws confuses it. 1219 Twin32_t temp; 1220 temp.a = RdLow<31:0>; 1221 temp.b = RdHigh<31:0>; 1222 Mem.tuw = temp; 1223 }}); 1224 } 1225 format LoadAlt { |
1226 0x18: ldswa({{Rd = (int32_t)Mem.sw;}}); 1227 0x19: ldsba({{Rd = (int8_t)Mem.sb;}}); 1228 0x1A: ldsha({{Rd = (int16_t)Mem.shw;}}); 1229 0x1B: ldxa({{Rd = (int64_t)Mem.sdw;}}); | 1226 0x18: ldswa({{Rd = Mem.sw;}}); 1227 0x19: ldsba({{Rd = Mem.sb;}}); 1228 0x1A: ldsha({{Rd = Mem.shw;}}); 1229 0x1B: ldxa({{Rd = Mem.sdw;}}); |
1230 } 1231 0x1D: SwapAlt::ldstuba({{Mem.ub = 0xFF;}}, 1232 {{ 1233 uint8_t tmp = mem_data; 1234 Rd.ub = tmp; 1235 }}, MEM_SWAP); 1236 0x1E: StoreAlt::stxa({{Mem.udw = Rd}}); 1237 0x1F: SwapAlt::swapa({{Mem.uw = Rd.uw}}, --- 215 unchanged lines hidden --- | 1230 } 1231 0x1D: SwapAlt::ldstuba({{Mem.ub = 0xFF;}}, 1232 {{ 1233 uint8_t tmp = mem_data; 1234 Rd.ub = tmp; 1235 }}, MEM_SWAP); 1236 0x1E: StoreAlt::stxa({{Mem.udw = Rd}}); 1237 0x1F: SwapAlt::swapa({{Mem.uw = Rd.uw}}, --- 215 unchanged lines hidden --- |