aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-12-27 17:23:18 -0800
committeriximeow <me@iximeow.net>2021-12-27 17:23:18 -0800
commitea8888c84c73f73ac17006539b86f0ef800d80b6 (patch)
treeab4161e75bb09a7716841c9bc19a40101724b7bd /test
parent1af092dc3d9beda01fcc464b761eb3ec35e1770e (diff)
more tests that were inaccurate
Diffstat (limited to 'test')
-rw-r--r--test/armv8/a64.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs
index 13b0d1d..1659327 100644
--- a/test/armv8/a64.rs
+++ b/test/armv8/a64.rs
@@ -124,7 +124,7 @@ fn test_decode_misc() {
opcode: Opcode::ADRP,
operands: [
Operand::Register(SizeCode::X, 2),
- Operand::Immediate(0x8725000),
+ Operand::Offset(0x8725000),
Operand::Nothing,
Operand::Nothing
]
@@ -140,11 +140,11 @@ fn test_decode_misc() {
);
test_display(
[0x1d, 0xff, 0xff, 0xd2],
- "mov x29, 0xfff8, lsl 48"
+ "mov x29, 0xfff8000000000000"
);
test_display(
[0x22, 0x39, 0x04, 0xb0],
- "adrp x2, 0x8725000"
+ "adrp x2, $+0x8725000"
);
}