[Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten
uros at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 7 16:37:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684
--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Jun 7 16:37:01 2018
New Revision: 261283
URL: https://gcc.gnu.org/viewcvs?rev=261283&root=gcc&view=rev
Log:
PR target/85684
* config/i386/i386.c (ix86_expand_builtin) <case IX86_BUILTIN_RDPID>:
Generate SImode target register for null target.
<case IX86_BUILTIN_XGETBV>: Ditto.
<case IX86_BUILTIN_XSETBV>: Optimize LSHIFTRT generation.
* config/i386/xsaveintrin.h (_xgetbv): Add missing return.
testsuite/ChangeLog:
PR target/85684
* gcc.target/i386/xgetsetbv.c: Check also variable arguments.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/i386/i386.c
branches/gcc-8-branch/gcc/config/i386/xsaveintrin.h
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/xgetsetbv.c
More information about the Gcc-bugs
mailing list