[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30317] New: .insn directive did not swap sources
From: |
haochen.jiang at intel dot com |
Subject: |
[Bug gas/30317] New: .insn directive did not swap sources |
Date: |
Thu, 06 Apr 2023 02:56:03 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30317
Bug ID: 30317
Summary: .insn directive did not swap sources
Product: binutils
Version: 2.41 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: haochen.jiang at intel dot com
Target Milestone: ---
For the current AMX and AMX-FP16 bad testcases, we got testcases like this:
#tdpfp16ps %tmm5,%tmm4,%tmm3 set VEX.W = 1 (illegal value).
.insn VEX.128.F2.0F38.W1 0x5c, %tmm4, %tmm5, %tmm3
.fill 0x05, 0x01, 0x90
#tdpfp16ps %tmm5,%tmm4,%tmm3 set VEX.L = 1 (illegal value).
.insn VEX.256.F2.0F38.W0 0x5c, %tmm4, %tmm5, %tmm3
.fill 0x05, 0x01, 0x90
The operand order is reversed for operand 2 and 3.
I did not fully root cause the reason but I guess the highest possibility is
the AMX instructions are using SwapSources which swaps operand 2 and 3.
If that is the case, maybe we should also find the reason why testsuite itself
did not report an error.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/30317] New: .insn directive did not swap sources,
haochen.jiang at intel dot com <=