diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2024-11-01 15:59:47 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-11-02 02:19:06 +0800 |
commit | 82bfb6c5ba6d1f84472271f367221988cd50f478 (patch) | |
tree | dfdb3b52c6d2d62e8787e03e57d5d8d39f342155 /libffi/src/powerpc/aix_closure.S | |
parent | 9a5ee8da09b705fc2a4197453789db0749387db3 (diff) | |
download | gcc-releases/gcc-14.zip gcc-releases/gcc-14.tar.gz gcc-releases/gcc-14.tar.bz2 |
i386: Do not allow pointer conversion for CMPccXADD intrin under -O0releases/gcc-14
The pointer conversion to wider type under macro would not consider
whether the higher bit is cleaned or not. It will lead to unexpected
cmp result.
After this change, it will throw an incompatible pointer type error just
like -O2 does currently.
gcc/ChangeLog:
* config/i386/cmpccxaddintrin.h (_cmpccxadd_epi32): Do not do
type conversion for pointer.
(_cmpccxadd_epi64): Ditto.
gcc/testsuite/ChangeLog:
* gcc.target/i386/cmpccxadd-1b.c: New test.
Diffstat (limited to 'libffi/src/powerpc/aix_closure.S')
0 files changed, 0 insertions, 0 deletions