mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Fixing a bug when printing fpu text to object file. Patch by Mans Rullgard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa09685a9a
commit
e89a05337a
@ -498,7 +498,7 @@ void ARMAsmPrinter::emitAttributes() {
|
||||
ARMBuildAttrs::Allowed);
|
||||
}
|
||||
|
||||
if (Subtarget->hasNEON()) {
|
||||
if (Subtarget->hasNEON() && emitFPU) {
|
||||
/* NEON is not exactly a VFP architecture, but GAS emit one of
|
||||
* neon/vfpv3/vfpv2 for .fpu parameters */
|
||||
AttrEmitter->EmitTextAttribute(ARMBuildAttrs::Advanced_SIMD_arch, "neon");
|
||||
|
Loading…
x
Reference in New Issue
Block a user