llvm-6502/test/MC/ARM/vfp-aliases.s
Saleem Abdulrasool 4ba4132d62 ARM IAS: account for predicated pre-UAL mnemonics
Checking the trailing letter of the mnemonic is insufficient.  Be more thorough
in the scanning of the instruction to ensure that we correctly work with the
predicated mnemonics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198235 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-30 18:38:01 +00:00

63 lines
1.2 KiB
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
.syntax unified
.fpu vfp
.type aliases,%function
aliases:
fstmfdd sp!, {d0}
fstmead sp!, {d0}
fstmdbd sp!, {d0}
fstmiad sp!, {d0}
fstmfds sp!, {s0}
fstmeas sp!, {s0}
fstmdbs sp!, {s0}
fstmias sp!, {s0}
fldmias sp!, {s0}
fldmdbs sp!, {s0}
fldmeas sp!, {s0}
fldmfds sp!, {s0}
fldmiad sp!, {d0}
fldmdbd sp!, {d0}
fldmead sp!, {d0}
fldmfdd sp!, {d0}
fstmeax sp!, {d0}
fldmfdx sp!, {d0}
fstmfdx sp!, {d0}
fldmeax sp!, {d0}
@ CHECK-LABEL: aliases
@ CHECK: vpush {d0}
@ CHECK: vstmia sp!, {d0}
@ CHECK: vpush {d0}
@ CHECK: vstmia sp!, {d0}
@ CHECK: vpush {s0}
@ CHECK: vstmia sp!, {s0}
@ CHECK: vpush {s0}
@ CHECK: vstmia sp!, {s0}
@ CHECK: vpop {s0}
@ CHECK: vldmdb sp!, {s0}
@ CHECK: vldmdb sp!, {s0}
@ CHECK: vpop {s0}
@ CHECK: vpop {d0}
@ CHECK: vldmdb sp!, {d0}
@ CHECK: vldmdb sp!, {d0}
@ CHECK: vpop {d0}
@ CHECK: fstmiax sp!, {d0}
@ CHECK: fldmiax sp!, {d0}
@ CHECK: fstmdbx sp!, {d0}
@ CHECK: fldmdbx sp!, {d0}
fstmiaxcs r0, {d0}
fstmiaxhs r0, {d0}
fstmiaxls r0, {d0}
fstmiaxvs r0, {d0}
@ CHECK: fstmiaxhs r0, {d0}
@ CHECK: fstmiaxhs r0, {d0}
@ CHECK: fstmiaxls r0, {d0}
@ CHECK: fstmiaxvs r0, {d0}