Support Intel AMX-FP16

Alan Modra amodra@gmail.com
Thu Oct 27 01:21:25 GMT 2022


Fix these fails due to the target padding out sections with nops.
x86_64-w64-mingw32  +FAIL: x86_64 AMX-FP16 insns
x86_64-w64-mingw32  +FAIL: x86_64 AMX-FP16 insns (Intel disassembly)

	* testsuite/gas/i386/x86-64-amx-fp16-intel.d: Accept trailing nops.
	* testsuite/gas/i386/x86-64-amx-fp16.d: Likewise.

diff --git a/gas/testsuite/gas/i386/x86-64-amx-fp16-intel.d b/gas/testsuite/gas/i386/x86-64-amx-fp16-intel.d
index 497898b760e..cf90c4a8957 100644
--- a/gas/testsuite/gas/i386/x86-64-amx-fp16-intel.d
+++ b/gas/testsuite/gas/i386/x86-64-amx-fp16-intel.d
@@ -11,3 +11,4 @@ Disassembly of section \.text:
 0+ <_start>:
 [ 	]*[a-f0-9]+:[ 	]*c4 e2 53 5c dc[ 	]*tdpfp16ps tmm3,tmm4,tmm5
 [ 	]*[a-f0-9]+:[ 	]*c4 e2 53 5c dc[ 	]*tdpfp16ps tmm3,tmm4,tmm5
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-amx-fp16.d b/gas/testsuite/gas/i386/x86-64-amx-fp16.d
index 7d3af95a4df..56040f8b3eb 100644
--- a/gas/testsuite/gas/i386/x86-64-amx-fp16.d
+++ b/gas/testsuite/gas/i386/x86-64-amx-fp16.d
@@ -11,3 +11,4 @@ Disassembly of section \.text:
 0+ <_start>:
 [ 	]*[a-f0-9]+:[ 	]*c4 e2 53 5c dc[ 	]*tdpfp16ps %tmm5,%tmm4,%tmm3
 [ 	]*[a-f0-9]+:[ 	]*c4 e2 53 5c dc[ 	]*tdpfp16ps %tmm5,%tmm4,%tmm3
+#pass

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list