Deleted Added
sdiff udiff text old ( 4237:3493eb63512e ) new ( 4256:35bb4cc24b18 )
full compact
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

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

1319 RdHigh = (Mem.tuw).b;
1320 }});
1321 }
1322 format Store {
1323 0x04: stw({{Mem.uw = Rd.sw;}});
1324 0x05: stb({{Mem.ub = Rd.sb;}});
1325 0x06: sth({{Mem.uhw = Rd.shw;}});
1326 0x07: sttw({{
1327 (Mem.tuw).a = RdLow<31:0>;
1328 (Mem.tuw).b = RdHigh<31:0>;
1329 }});
1330 }
1331 format Load {
1332 0x08: ldsw({{Rd = (int32_t)Mem.sw;}});
1333 0x09: ldsb({{Rd = (int8_t)Mem.sb;}});
1334 0x0A: ldsh({{Rd = (int16_t)Mem.shw;}});
1335 0x0B: ldx({{Rd = (int64_t)Mem.sdw;}});
1336 }

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

1412 }}, {{EXT_ASI}});
1413 }
1414 }
1415 format StoreAlt {
1416 0x14: stwa({{Mem.uw = Rd;}}, {{EXT_ASI}});
1417 0x15: stba({{Mem.ub = Rd;}}, {{EXT_ASI}});
1418 0x16: stha({{Mem.uhw = Rd;}}, {{EXT_ASI}});
1419 0x17: sttwa({{
1420 (Mem.tuw).a = RdLow<31:0>;
1421 (Mem.tuw).b = RdHigh<31:0>;
1422 }}, {{EXT_ASI}});
1423 }
1424 format LoadAlt {
1425 0x18: ldswa({{Rd = (int32_t)Mem.sw;}}, {{EXT_ASI}});
1426 0x19: ldsba({{Rd = (int8_t)Mem.sb;}}, {{EXT_ASI}});
1427 0x1A: ldsha({{Rd = (int16_t)Mem.shw;}}, {{EXT_ASI}});
1428 0x1B: ldxa({{Rd = (int64_t)Mem.sdw;}}, {{EXT_ASI}});
1429 }

--- 224 unchanged lines hidden ---