decoder.isa (3378:4be53ff74fa8) decoder.isa (3388:1c6ebfc4c20e)
1// Copyright (c) 2006 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

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

841 0x0A: ldsh({{Rd = (int16_t)Mem.shw;}});
842 0x0B: ldx({{Rd = (int64_t)Mem.sdw;}});
843 0x0D: ldstub({{
844 Rd = Mem.ub;
845 Mem.ub = 0xFF;
846 }});
847 }
848 0x0E: Store::stx({{Mem.udw = Rd}});
1// Copyright (c) 2006 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

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

841 0x0A: ldsh({{Rd = (int16_t)Mem.shw;}});
842 0x0B: ldx({{Rd = (int64_t)Mem.sdw;}});
843 0x0D: ldstub({{
844 Rd = Mem.ub;
845 Mem.ub = 0xFF;
846 }});
847 }
848 0x0E: Store::stx({{Mem.udw = Rd}});
849 0x0F: LoadStore::swap({{
850 uint32_t temp = Rd;
851 Rd = Mem.uw;
852 Mem.uw = temp;
853 }});
849 0x0F: LoadStore::swap(
850 {{*temp = Rd.uw;
851 Rd.uw = Mem.uw;}},
852 {{Mem.uw = *temp;}});
854 format Load {
855 0x10: lduwa({{Rd = Mem.uw;}});
856 0x11: lduba({{Rd = Mem.ub;}});
857 0x12: lduha({{Rd = Mem.uhw;}});
858 0x13: ldda({{
859 uint64_t val = Mem.udw;
860 RdLow = val<31:0>;
861 RdHigh = val<63:32>;

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

868 0x17: stda({{Mem.udw = RdLow<31:0> | RdHigh<31:0> << 32;}});
869 }
870 format Load {
871 0x18: ldswa({{Rd = (int32_t)Mem.sw;}});
872 0x19: ldsba({{Rd = (int8_t)Mem.sb;}});
873 0x1A: ldsha({{Rd = (int16_t)Mem.shw;}});
874 0x1B: ldxa({{Rd = (int64_t)Mem.sdw;}});
875 }
853 format Load {
854 0x10: lduwa({{Rd = Mem.uw;}});
855 0x11: lduba({{Rd = Mem.ub;}});
856 0x12: lduha({{Rd = Mem.uhw;}});
857 0x13: ldda({{
858 uint64_t val = Mem.udw;
859 RdLow = val<31:0>;
860 RdHigh = val<63:32>;

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

867 0x17: stda({{Mem.udw = RdLow<31:0> | RdHigh<31:0> << 32;}});
868 }
869 format Load {
870 0x18: ldswa({{Rd = (int32_t)Mem.sw;}});
871 0x19: ldsba({{Rd = (int8_t)Mem.sb;}});
872 0x1A: ldsha({{Rd = (int16_t)Mem.shw;}});
873 0x1B: ldxa({{Rd = (int64_t)Mem.sdw;}});
874 }
876 0x1D: LoadStore::ldstuba({{
877 Rd = Mem.ub;
878 Mem.ub = 0xFF;
879 }});
875 0x1D: LoadStore::ldstuba(
876 {{Rd = Mem.ub;}},
877 {{Mem.ub = 0xFF}});
880 0x1E: Store::stxa({{Mem.udw = Rd}});
878 0x1E: Store::stxa({{Mem.udw = Rd}});
881 0x1F: LoadStore::swapa({{
882 uint32_t temp = Rd;
883 Rd = Mem.uw;
884 Mem.uw = temp;
885 }});
879 0x1F: LoadStore::swapa(
880 {{*temp = Rd.uw;
881 Rd.uw = Mem.uw;}},
882 {{Mem.uw = *temp;}});
886 format Trap {
887 0x20: Load::ldf({{Frd.uw = Mem.uw;}});
888 0x21: decode X {
889 0x0: Load::ldfsr({{Fsr = Mem.uw | Fsr<63:32>;}});
890 0x1: Load::ldxfsr({{Fsr = Mem.udw;}});
891 }
892 0x22: ldqf({{fault = new FpDisabled;}});
893 0x23: Load::lddf({{Frd.udw = Mem.udw;}});

--- 190 unchanged lines hidden ---
883 format Trap {
884 0x20: Load::ldf({{Frd.uw = Mem.uw;}});
885 0x21: decode X {
886 0x0: Load::ldfsr({{Fsr = Mem.uw | Fsr<63:32>;}});
887 0x1: Load::ldxfsr({{Fsr = Mem.udw;}});
888 }
889 0x22: ldqf({{fault = new FpDisabled;}});
890 0x23: Load::lddf({{Frd.udw = Mem.udw;}});

--- 190 unchanged lines hidden ---