llvm-6502/test/MC/ARM/vfp-aliases.s
Saleem Abdulrasool dd2836776f ARM: provide VFP aliases for pre-V6 mnemonics
In order to provide compatibility with the GNU assembler, provide aliases for
pre-UAL mnemonics for floating point operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198172 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-29 17:58:35 +00:00

54 lines
1.0 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}