mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
[arm] Add softvfp to supported FPU names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a21a8a863d
commit
311730494e
@ -28,5 +28,6 @@ ARM_FPU_NAME("neon", NEON)
|
||||
ARM_FPU_NAME("neon-vfpv4", NEON_VFPV4)
|
||||
ARM_FPU_NAME("neon-fp-armv8", NEON_FP_ARMV8)
|
||||
ARM_FPU_NAME("crypto-neon-fp-armv8", CRYPTO_NEON_FP_ARMV8)
|
||||
ARM_FPU_NAME("softvfp", SOFTVFP)
|
||||
|
||||
#undef ARM_FPU_NAME
|
||||
|
@ -747,6 +747,9 @@ void ARMTargetELFStreamer::emitFPUDefaultAttributes() {
|
||||
/* OverwriteExisting= */ false);
|
||||
break;
|
||||
|
||||
case ARM::SOFTVFP:
|
||||
break;
|
||||
|
||||
default:
|
||||
report_fatal_error("Unknown FPU: " + Twine(FPU));
|
||||
break;
|
||||
|
8
test/MC/ARM/directive-fpu-softvfp.s
Normal file
8
test/MC/ARM/directive-fpu-softvfp.s
Normal file
@ -0,0 +1,8 @@
|
||||
@ RUN: llvm-mc < %s -triple armv7-unknown-linux-gnueabi -filetype=obj -o /dev/null
|
||||
|
||||
@ Check softvfp as the FPU name.
|
||||
|
||||
@ Expected result: The integrated-as should be able to assemble this file
|
||||
@ without problems.
|
||||
|
||||
.fpu softvfp
|
Loading…
Reference in New Issue
Block a user