This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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]

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.


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]