This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GAS][ARM][3/3]Add armv8.2 fp16 scalar instruction support. [Based on SE_H instruction shape for .f16, u16, s16, .16 type specifier]
- From: Renlin Li <renlin dot li at foss dot arm dot com>
- To: Nick Clifton <nickc at redhat dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Mon, 22 Feb 2016 12:35:21 +0000
- Subject: Re: [GAS][ARM][3/3]Add armv8.2 fp16 scalar instruction support. [Based on SE_H instruction shape for .f16, u16, s16, .16 type specifier]
- Authentication-results: sourceware.org; auth=none
- References: <56C6FB4A dot 7000302 at foss dot arm dot com> <56C6FCE8 dot 2090103 at foss dot arm dot com> <56C6FE36 dot 80509 at foss dot arm dot com> <56CAF509 dot 4010500 at redhat dot com>
Hi Nick,
Thank you for pointing this out!
No, the test case doesn't work on PE and COFF targets.
First of all, the objdumped assembly depends on the mapping symbols to
correctly
print data and instruction.
for example, for elf target:
0000000c <label>:
c: 00000ffe .word 0x00000ffe
for wince target:
0000000c <label>:
c: 00000ffe strdeq r0, [r0], -lr
There are other minor differences as well.
I will update the test case.
Thanks!
Renlin
On 22/02/16 11:46, Nick Clifton wrote:
Hi Renlin,
diff --git a/gas/testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d b/gas/testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d
new file mode 100644
index 0000000000000000000000000000000000000000..f196c4a5973874cb4cb29c00aeec3c0f10fc2625
--- /dev/null
+++ b/gas/testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d
@@ -0,0 +1,74 @@
+#name: ARM v8.2 FP16 support on scalar (Thumb)
+#source: armv8-2-fp16-scalar.s
+#objdump: -d
+#as: -march=armv8.2-a+fp16 -mfpu=fp-armv8 -mthumb
Is this new test going to work on PE and COFF based ARM targets ?
Cheers
Nick