]> git.ipfire.org Git - thirdparty/gcc.git/commit
[i386] APX EGPR: fix missing patterns that prohibit egpr
authorHongyu Wang <hongyu.wang@intel.com>
Mon, 9 Oct 2023 01:53:14 +0000 (09:53 +0800)
committerHongyu Wang <hongyu.wang@intel.com>
Mon, 9 Oct 2023 02:37:22 +0000 (10:37 +0800)
commit86d92c84762f8c805c4e3d87f394c095139c81f0
treed420edb2874d9199ebd1c0f81f654ecd54bdb068
parent00c67d62972cef8572393c7f7e10f5d420718e42
[i386] APX EGPR: fix missing patterns that prohibit egpr

For some pattern m/Bm constraint in alternative 0 and 1 could result in
egpr allocated on memory operand under -mapxf. Should use jm/ja instead.

gcc/ChangeLog:

* config/i386/sse.md (vec_concatv2di): Replace constraint "m"
with "jm" for alternative 0 and 1 of operand 2.
(sse4_1_<code><mode>3<mask_name>): Replace constraint "Bm" with
"ja" for alternative 0 and 1 of operand2.
gcc/config/i386/sse.md