[llvm] r345587 - [FIX][AArch64] Add support for UDF instruction
Diogo N. Sampaio via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 30 04:39:34 PDT 2018
Author: dnsampaio
Date: Tue Oct 30 04:39:33 2018
New Revision: 345587
URL: http://llvm.org/viewvc/llvm-project?rev=345587&view=rev
Log:
[FIX][AArch64] Add support for UDF instruction
Fix wrong test files submited
in rL345581
Modified:
llvm/trunk/test/MC/AArch64/udf.s
llvm/trunk/test/MC/Disassembler/AArch64/udf.txt
Modified: llvm/trunk/test/MC/AArch64/udf.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/udf.s?rev=345587&r1=345586&r2=345587&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/udf.s (original)
+++ llvm/trunk/test/MC/AArch64/udf.s Tue Oct 30 04:39:33 2018
@@ -1,15 +1,9 @@
# RUN: llvm-mc -assemble -show-encoding -triple=aarch64- %s | FileCheck %s
# CHECK: .text
# CHECK-NEXT: udf #0 // encoding: [0x00,0x00,0x00,0x00]
-# CHECK-NEXT: udf #1 // encoding: [0x01,0x00,0x00,0x00]
-# CHECK-NEXT: udf #16 // encoding: [0x10,0x00,0x00,0x00]
-# CHECK-NEXT: udf #32 // encoding: [0x20,0x00,0x00,0x00]
-# CHECK-NEXT: udf #48 // encoding: [0x30,0x00,0x00,0x00]
-# CHECK-NEXT: udf #65535 // encoding: [0xff,0xff,0x00,0x00]
+# CHECK-NEXT: udf #513 // encoding: [0x01,0x02,0x00,0x00]
+# CHECK-NEXT: udf #65535 // encoding: [0xff,0xff,0x00,0x00]
.text
udf 0
-udf 1
-udf 16
-udf 32
-udf 48
+udf 513
udf 65535
Modified: llvm/trunk/test/MC/Disassembler/AArch64/udf.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/AArch64/udf.txt?rev=345587&r1=345586&r2=345587&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/AArch64/udf.txt (original)
+++ llvm/trunk/test/MC/Disassembler/AArch64/udf.txt Tue Oct 30 04:39:33 2018
@@ -4,27 +4,15 @@
# RUN: llvm-objdump -r -d --triple=arm64- - | \
# RUN: FileCheck %s -check-prefix=OBJ
[0x00,0x00,0x00,0x00]
-[0x01,0x00,0x00,0x00]
-[0x10,0x00,0x00,0x00]
-[0x20,0x00,0x00,0x00]
-[0x30,0x00,0x00,0x00]
+[0x01,0x02,0x00,0x00]
[0xff,0xff,0x00,0x00]
-[0x00,0xfd,0x00,0x00]
# CHECK: .text
# CHECK-NEXT: udf #0
-# CHECK-NEXT: udf #1
-# CHECK-NEXT: udf #16
-# CHECK-NEXT: udf #32
-# CHECK-NEXT: udf #48
-# CHECK-NEXT: udf #32767
-# CHECK-NEXT: udf #32000
+# CHECK-NEXT: udf #513
+# CHECK-NEXT: udf #65535
#OBJ: Disassembly of section .text:
#OBJ-NEXT: $x.0:
#OBJ-NEXT: 0: 00 00 00 00 udf #0
-#OBJ-NEXT: 4: 01 00 00 00 udf #1
-#OBJ-NEXT: 8: 10 00 00 00 udf #16
-#OBJ-NEXT: c: 20 00 00 00 udf #32
-#OBJ-NEXT: 10: 30 00 00 00 udf #48
-#OBJ-NEXT: 14: ff 7f 00 00 udf #32767
-#OBJ-NEXT: 18: 00 7d 00 00 udf #32000
+#OBJ-NEXT: 4: 01 02 00 00 udf #513
+#OBJ-NEXT: 8: ff ff 00 00 udf #65535
More information about the llvm-commits
mailing list