aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2024-07-19 19:01:53 +0100
committerMaciej W. Rozycki <macro@redhat.com>2024-07-19 19:01:53 +0100
commitd8b73b41a207a5e4263848c323d81e1d3882ac7d (patch)
tree5186e39bd5ece058f7e16ae7fa92e0c2d5622c77
parentad781af697dfb261a22c25bb426597184463e66f (diff)
downloadbinutils-d8b73b41a207a5e4263848c323d81e1d3882ac7d.zip
binutils-d8b73b41a207a5e4263848c323d81e1d3882ac7d.tar.gz
binutils-d8b73b41a207a5e4263848c323d81e1d3882ac7d.tar.bz2
MIPS/opcodes: Mark PAUSE as an alias
PAUSE is an assembly idiom for 'sll $0,$0,5', so mark it as an alias in the regular MIPS opcode table, matching the microMIPS opcode table. A test case will be supplied separately.
-rw-r--r--opcodes/mips-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index a89747b..ebc6f58 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -1677,7 +1677,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
{"ori", "t,r,i", 0x34000000, 0xfc000000, WR_1|RD_2, 0, I1, 0, 0 },
{"pabsdiff.ob", "X,Y,Q", 0x78000009, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, SB1, 0, 0 },
{"pabsdiffc.ob", "Y,Q", 0x78000035, 0xfc2007ff, RD_1|RD_2|FP_D, WR_MACC, SB1, 0, 0 },
-{"pause", "", 0x00000140, 0xffffffff, TRAP, 0, I33, 0, 0 },
+{"pause", "", 0x00000140, 0xffffffff, TRAP, AL, I33, 0, 0 },
{"pavg.ob", "X,Y,Q", 0x78000008, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, SB1, 0, 0 },
{"pabsh", "d,t", 0x70000168, 0xffe007ff, WR_1|RD_2, 0, MMI, 0, 0 },
{"pabsw", "d,t", 0x70000068, 0xffe007ff, WR_1|RD_2, 0, MMI, 0, 0 },