mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Merge pull request #16 from aportelli/master
AX_GCC_X86_AVX_XGETBV macro fix
This commit is contained in:
commit
7fc26258c7
66
.gitignore
vendored
66
.gitignore
vendored
@ -1,56 +1,65 @@
|
|||||||
# Compiled Object files
|
# Compiled Object files #
|
||||||
|
#########################
|
||||||
*.slo
|
*.slo
|
||||||
*.lo
|
*.lo
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
*~
|
|
||||||
errs
|
|
||||||
*#
|
|
||||||
INSTALL
|
|
||||||
|
|
||||||
# Precompiled Headers
|
|
||||||
|
# Editor files #
|
||||||
|
################
|
||||||
|
*~
|
||||||
|
*#
|
||||||
|
|
||||||
|
# Precompiled Headers #
|
||||||
|
#######################
|
||||||
*.gch
|
*.gch
|
||||||
*.pch
|
*.pch
|
||||||
|
|
||||||
# Compiled Dynamic libraries
|
# Compiled Dynamic libraries #
|
||||||
|
##############################
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
*.dll
|
*.dll
|
||||||
|
|
||||||
# Fortran module files
|
# Fortran module files #
|
||||||
|
########################
|
||||||
*.mod
|
*.mod
|
||||||
|
|
||||||
# Compiled Static libraries
|
# Compiled Static libraries #
|
||||||
|
#############################
|
||||||
*.lai
|
*.lai
|
||||||
*.la
|
*.la
|
||||||
*.a
|
*.a
|
||||||
*.lib
|
*.lib
|
||||||
|
|
||||||
# Executables
|
# Executables #
|
||||||
|
###############
|
||||||
*.exe
|
*.exe
|
||||||
*.out
|
*.out
|
||||||
*.app
|
*.app
|
||||||
# http://www.gnu.org/software/automake
|
|
||||||
|
|
||||||
|
# http://www.gnu.org/software/automake #
|
||||||
|
########################################
|
||||||
Makefile.in
|
Makefile.in
|
||||||
Makefile
|
Makefile
|
||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
.deps
|
.deps
|
||||||
|
|
||||||
# http://www.gnu.org/software/autoconf
|
# http://www.gnu.org/software/autoconf #
|
||||||
|
########################################
|
||||||
/autom4te.cache
|
autom4te.cache
|
||||||
/aclocal.m4
|
aclocal.m4
|
||||||
/compile
|
compile
|
||||||
/configure
|
configure
|
||||||
/depcomp
|
depcomp
|
||||||
/install-sh
|
install-sh
|
||||||
/missing
|
missing
|
||||||
/stamp-h1
|
stamp-h1
|
||||||
/config.sub
|
config.sub
|
||||||
/config.guess
|
config.guess
|
||||||
/INSTALL
|
INSTALL
|
||||||
|
|
||||||
# Packages #
|
# Packages #
|
||||||
############
|
############
|
||||||
@ -80,3 +89,12 @@ config.status
|
|||||||
.Trashes
|
.Trashes
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
|
# build directory #
|
||||||
|
###################
|
||||||
|
build/*
|
||||||
|
|
||||||
|
# IDE related files #
|
||||||
|
#####################
|
||||||
|
*.xcodeproj/*
|
||||||
|
build.sh
|
||||||
|
@ -65,7 +65,7 @@ AC_CACHE_CHECK(for x86-AVX xgetbv $1 output, ax_cv_gcc_x86_avx_xgetbv_$1,
|
|||||||
FILE *f;
|
FILE *f;
|
||||||
/* Opcodes for xgetbv */
|
/* Opcodes for xgetbv */
|
||||||
__asm__(".byte 0x0f, 0x01, 0xd0"
|
__asm__(".byte 0x0f, 0x01, 0xd0"
|
||||||
: "=a" (eax), "=d" (edx),
|
: "=a" (eax), "=d" (edx)
|
||||||
: "c" (op));
|
: "c" (op));
|
||||||
f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
|
f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
|
||||||
fprintf(f, "%x:%x\n", eax, edx);
|
fprintf(f, "%x:%x\n", eax, edx);
|
||||||
|
Loading…
Reference in New Issue
Block a user