Fix Tag_ABI_HardFP_use build attribute to handle single precision FP, replace deprecated Tag_ABI_HardFP_use value of 3 with 0 and also add some tests for Tag_ABI_VFP_args.
Details
Diff Detail
Event Timeline
1 test need tightening up. OK to commit with this correction.
test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll | ||
---|---|---|
157 | M4 is d16 only -so this line should be .fpu vfpv4-d16 as before. TRM ref: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0439d/BEHDEEJE.html | |
172 | Same comment as above. |
Ah good spot, I must have dropped that when I rebased on top of Logan's patch.
Fixed and committed as r193856, thanks.
Regards,
Bradley Smith
-----Original Message-----
From: Richard Barton [mailto:richard.barton@arm.com]
Sent: 31 October 2013 12:24
To: Bradley Smith
Cc: llvm-commits@cs.uiuc.edu; Amara Emerson; Richard Barton
Subject: Re: [PATCH] [ARM] Fix Tag_ABI_HardFP_use build attribute1 test need tightening up. OK to commit with this correction.Comment at: test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll:157
@@ +156,3 @@
+; CORTEX-M4-SOFT: .eabi_attribute 9, 2
+; CORTEX-M4-SOFT: .fpu vfpv4+; CORTEX-M4-SOFT: .eabi_attribute 20, 1
M4 is d16 only -so this line should be .fpu vfpv4-d16 as before.
TRM ref:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0439d/BEHDEEJE.htmlComment at: test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll:172
@@ +171,3 @@
+; CORTEX-M4-HARD: .eabi_attribute 9, 2
+; CORTEX-M4-HARD: .fpu vfpv4+; CORTEX-M4-HARD: .eabi_attribute 20, 1
Same comment as above.
M4 is d16 only -so this line should be .fpu vfpv4-d16 as before.
TRM ref: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0439d/BEHDEEJE.html