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 --- 1306 unchanged lines hidden (view full) --- 1315 RdLow = (Mem.tuw).a; 1316 RdHigh = (Mem.tuw).b; 1317 }}); 1318 } 1319 format Store { 1320 0x04: stw({{Mem.uw = Rd.sw;}}); 1321 0x05: stb({{Mem.ub = Rd.sb;}}); 1322 0x06: sth({{Mem.uhw = Rd.shw;}}); |
1323 0x07: sttw({{ 1324 (Mem.tuw).a = RdLow<31:0>; 1325 (Mem.tuw).b = RdHigh<31:0>; 1326 }}); |
1327 } 1328 format Load { 1329 0x08: ldsw({{Rd = (int32_t)Mem.sw;}}); 1330 0x09: ldsb({{Rd = (int8_t)Mem.sb;}}); 1331 0x0A: ldsh({{Rd = (int16_t)Mem.shw;}}); 1332 0x0B: ldx({{Rd = (int64_t)Mem.sdw;}}); 1333 } 1334 0x0D: Swap::ldstub({{Mem.ub = 0xFF;}}, --- 73 unchanged lines hidden (view full) --- 1408 RdHigh = (Mem.tuw).b; 1409 }}, {{EXT_ASI}}); 1410 } 1411 } 1412 format StoreAlt { 1413 0x14: stwa({{Mem.uw = Rd;}}, {{EXT_ASI}}); 1414 0x15: stba({{Mem.ub = Rd;}}, {{EXT_ASI}}); 1415 0x16: stha({{Mem.uhw = Rd;}}, {{EXT_ASI}}); |
1416 0x17: sttwa({{ 1417 (Mem.tuw).a = RdLow<31:0>; 1418 (Mem.tuw).b = RdHigh<31:0>; 1419 }}, {{EXT_ASI}}); |
1420 } 1421 format LoadAlt { 1422 0x18: ldswa({{Rd = (int32_t)Mem.sw;}}, {{EXT_ASI}}); 1423 0x19: ldsba({{Rd = (int8_t)Mem.sb;}}, {{EXT_ASI}}); 1424 0x1A: ldsha({{Rd = (int16_t)Mem.shw;}}, {{EXT_ASI}}); 1425 0x1B: ldxa({{Rd = (int64_t)Mem.sdw;}}, {{EXT_ASI}}); 1426 } 1427 0x1D: SwapAlt::ldstuba({{Mem.ub = 0xFF;}}, --- 223 unchanged lines hidden --- |