[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-22 Thread lili.cui at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

lili.cui at intel dot com  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #8 from lili.cui at intel dot com  ---
Fixed, close it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |2.44

--- Comment #7 from H.J. Lu  ---
Fixed for 2.44 and 2.43 branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-20 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #6 from Sourceware Commits  ---
The binutils-2_43-branch branch has been updated by H.J. Lu
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d77d08180d195a60193e9b35b6d08036caa55c70

commit d77d08180d195a60193e9b35b6d08036caa55c70
Author: H.J. Lu 
Date:   Mon Sep 16 07:11:39 2024 +0800

x86/APX: Don't promote AVX/AVX2 instructions out of APX spec

V{BROADCAST,EXTRACT,INSERT}{F,I}128 and VROUND{P,S}{S,D} aren't promoted
to support EGPR in APX spec.  Don't promote them out of APX spec.  This
commit effectively reverted:

ec3babb8c10 x86/APX: V{BROADCAST,EXTRACT,INSERT}{F,I}128 can also be
expressed
5a635f1f59a x86/APX: VROUND{P,S}{S,D} encodings require AVX512{F,VL}
eea4357967b x86/APX: VROUND{P,S}{S,D} can generally be encoded

gas/

PR gas/32171
* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s: Add
V{BROADCAST,EXTRACT,INSERT}{F,I}128 tests with EGPR.
* testsuite/gas/i386/x86-64-apx-evex-promoted.s: Remove
V{BROADCAST,EXTRACT,INSERT}{F,I}128 and VROUND{P,S}{S,D} tests
with EGPR.
* testsuite/gas/i386/x86-64-apx-egpr-inval.l: Updated.
* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted.d: Likewise.

opcodes/

PR gas/32171
* i386-opc.tbl: Remove V{BROADCAST,EXTRACT,INSERT}{F,I}128 and
VROUND{P,S}{S,D} entries with EGPR.
* i386-tbl.h: Regenerated.

Signed-off-by: H.J. Lu 
(cherry picked from commit 2963d7d80dffc9feb391ce7b5f3bc1c87e932b9d)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-17 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #5 from Sourceware Commits  ---
The master branch has been updated by H.J. Lu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2963d7d80dffc9feb391ce7b5f3bc1c87e932b9d

commit 2963d7d80dffc9feb391ce7b5f3bc1c87e932b9d
Author: H.J. Lu 
Date:   Mon Sep 16 07:11:39 2024 +0800

x86/APX: Don't promote AVX/AVX2 instructions out of APX spec

V{BROADCAST,EXTRACT,INSERT}{F,I}128 and VROUND{P,S}{S,D} aren't promoted
to support EGPR in APX spec.  Don't promote them out of APX spec.  This
commit effectively reverted:

ec3babb8c10 x86/APX: V{BROADCAST,EXTRACT,INSERT}{F,I}128 can also be
expressed
5a635f1f59a x86/APX: VROUND{P,S}{S,D} encodings require AVX512{F,VL}
eea4357967b x86/APX: VROUND{P,S}{S,D} can generally be encoded

gas/

PR gas/32171
* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s: Add
V{BROADCAST,EXTRACT,INSERT}{F,I}128 tests with EGPR.
* testsuite/gas/i386/x86-64-apx-evex-promoted.s: Remove
V{BROADCAST,EXTRACT,INSERT}{F,I}128 and VROUND{P,S}{S,D} tests
with EGPR.
* testsuite/gas/i386/x86-64-apx-egpr-inval.l: Updated.
* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d: Likewise.
* testsuite/gas/i386/x86-64-apx-evex-promoted.d: Likewise.

opcodes/

PR gas/32171
* i386-opc.tbl: Remove V{BROADCAST,EXTRACT,INSERT}{F,I}128 and
VROUND{P,S}{S,D} entries with EGPR.
* i386-tbl.h: Regenerated.

Signed-off-by: H.J. Lu 

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread lili.cui at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #4 from lili.cui at intel dot com  ---
Sorry, correct the commit Id.

eea4357967b6182459d423c4d919a7cb0219604b
5a635f1f59ad08e572e36419f1145433fd670214
ec3babb8c10111bacfd195fe9eafed1bfb721b5c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #3 from H.J. Lu  ---
We need to issue an error on these instructions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread lili.cui at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #2 from lili.cui at intel dot com  ---
(In reply to H.J. Lu from comment #1)
> Is this the complete list?

Yes, I only found these, involving the following three commits

eea4357967b6182459d423c4d919a7cb0219604b
eea4357967b6182459d423c4d919a7cb0219604b
ec3babb8c10111bacfd195fe9eafed1bfb721b5c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

--- Comment #1 from H.J. Lu  ---
Is this the complete list?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread lili.cui at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

lili.cui at intel dot com  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com,
   ||jbeulich at suse dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32171] The assembler should report errors for illegal uses of egpr instructions.

2024-09-12 Thread lili.cui at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32171

lili.cui at intel dot com  changed:

   What|Removed |Added

 CC||lili.cui at intel dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.