1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/MC/Disassembler/ARM/vfp4.txt
Evan Cheng 12bfe1150d Fix a number of problems with ARM fused multiply add/subtract instructions.
1. The new instruction itinerary entries are not properly described.
2. The asm parser can't handle vfms and vfnms.
3. There were no assembler, disassembler test cases.
4. HasNEON2 has the wrong assembler predicate.
rdar://10139676

llvm-svn: 154456
2012-04-11 00:13:00 +00:00

38 lines
722 B
Plaintext

# RUN: llvm-mc < %s -triple thumbv7-unknown-unknown --disassemble -mattr=+neon,+vfp4 | FileCheck %s
# CHECK: vfma.f64 d16, d18, d17
0xe2 0xee 0xa1 0x0b
# CHECK: vfma.f32 s2, s4, s0
0xa2 0xee 0x00 0x1a
# CHECK: vfma.f32 d16, d18, d17
0x42 0xef 0xb1 0x0c
# CHECK: vfma.f32 q2, q4, q0
0x08 0xef 0x50 0x4c
# CHECK: vfnms.f64 d16, d18, d17
0xd2 0xee 0xa1 0x0b
# CHECK: vfnms.f32 s2, s4, s0
0x92 0xee 0x00 0x1a
# CHECK: vfms.f64 d16, d18, d17
0xe2 0xee 0xe1 0x0b
# CHECK: vfms.f32 s2, s4, s0
0xa2 0xee 0x40 0x1a
# CHECK: vfms.f32 d16, d18, d17
0x62 0xef 0xb1 0x0c
# CHECK: vfms.f32 q2, q4, q0
0x28 0xef 0x50 0x4c
# CHECK: vfnma.f64 d16, d18, d17
0xd2 0xee 0xe1 0x0b
# CHECK: vfnma.f32 s2, s4, s0
0x92 0xee 0x40 0x1a