This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88473

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, if you want this constant folded, why are you using the _k* intrinsics at
all rather than just normal arithmetics on the __mmask8 etc. types?
The intrinsics are handled in GCC in a way to force those to be actually those
instructions.  We could surely implement those just by doing normal arithmetics
inside of the headers, but then it would be more likely that normal GPR
arithmetics would be used for those rather than mask logic etc. operations.

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