1 /* { dg-do compile } */ 2 /* { dg-options "-O0 -Werror-implicit-function-declaration -march=x86-64 -madx -mbmi -mbmi2 -mcldemote -mclflushopt -mclwb -mclzero -menqcmd -mfsgsbase -mfxsr -mhreset -mlzcnt -mlwp -mmovdiri -mmwaitx -mpconfig -mpopcnt -mpku -mptwrite -mrdpid -mrdrnd -mrdseed -mrtm -mserialize -msgx -mshstk -mtbm -mtsxldtrk -mwaitpkg -mwbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-sse -mno-mmx" } */ 3 /* { dg-add-options bind_pic_locally } */ 4 /* { dg-additional-options "-muintr" { target { ! ia32 } } } */ 5 6 /* Test that the intrinsics in <x86gprintrin.h> compile without optimization. 7 All of them are defined as inline functions that reference the proper 8 builtin functions. 9 10 Defining away "extern" and "__inline" results in all of them being compiled 11 as proper functions. */ 12 13 #define extern 14 #define __inline 15 16 #include <x86gprintrin.h> 17