llvm-mirror/test/MC/ARM/vfp-aliases.s
Oliver Stannard 1e82259f07 [ARM] Remove pre-UAL FLDM/FSTM aliases
These are pre-UAL syntax, and we don't support any other pre-UAL instructions,
with the exception of FLDMX/FSTMX, which don't have a UAL equivalent. Therefore
there's no reason to keep them or their AsmParser hacks around.

With the AsmParser hacks removed, the FLDMX and FSTMX instructions get the same
operand diagnostics as the UAL instructions.

Differential revision: https://reviews.llvm.org/D39196

llvm-svn: 318777
2017-11-21 16:20:25 +00:00

29 lines
545 B
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
.syntax unified
.fpu vfp
.type aliases,%function
aliases:
fstmeax sp!, {d0}
fldmfdx sp!, {d0}
fstmfdx sp!, {d0}
fldmeax sp!, {d0}
@ CHECK-LABEL: aliases
@ 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}