mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[FIX][AArch64] Add support for UDF instruction
Fix wrong test files submited in rL345581 llvm-svn: 345587
This commit is contained in:
parent
51d91937b5
commit
1961084522
@ -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 #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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user