Lines Matching +full:gas +full:- +full:preprocessor
12 # x86[-64] (NASM)
17 set(CMAKE_ASM_NASM_FLAGS_DEBUG_INIT "-g")
18 set(CMAKE_ASM_NASM_FLAGS_RELWITHDEBINFO_INIT "-g")
45 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DMACHO")
47 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DELF")
52 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DWIN64")
54 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -D__x86_64__")
57 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DOBJ32")
59 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DWIN32")
74 if(${var} STREQUAL "-g")
76 set_property(CACHE ${var} PROPERTY VALUE "-g ${CMAKE_ASM_NASM_DEBUG_FORMAT}")
85 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DPIC")
92 set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -I\"${CMAKE_CURRENT_SOURCE_DIR}/nasm/\" -I\"${CMA…
99 ${CMAKE_C_COMPILER} -E -I${CMAKE_BINARY_DIR} -I${CMAKE_CURRENT_BINARY_DIR}
100 -I${CMAKE_CURRENT_SOURCE_DIR}
102 ${GREP} -E '^[\;%]|^\ %' | sed 's%_cpp_protection_%%' |
106 set(SIMD_SOURCES x86_64/jsimdcpu.asm x86_64/jfdctflt-sse.asm
107 x86_64/jccolor-sse2.asm x86_64/jcgray-sse2.asm x86_64/jchuff-sse2.asm
108 x86_64/jcphuff-sse2.asm x86_64/jcsample-sse2.asm x86_64/jdcolor-sse2.asm
109 x86_64/jdmerge-sse2.asm x86_64/jdsample-sse2.asm x86_64/jfdctfst-sse2.asm
110 x86_64/jfdctint-sse2.asm x86_64/jidctflt-sse2.asm x86_64/jidctfst-sse2.asm
111 x86_64/jidctint-sse2.asm x86_64/jidctred-sse2.asm x86_64/jquantf-sse2.asm
112 x86_64/jquanti-sse2.asm
113 x86_64/jccolor-avx2.asm x86_64/jcgray-avx2.asm x86_64/jcsample-avx2.asm
114 x86_64/jdcolor-avx2.asm x86_64/jdmerge-avx2.asm x86_64/jdsample-avx2.asm
115 x86_64/jfdctint-avx2.asm x86_64/jidctint-avx2.asm x86_64/jquanti-avx2.asm)
117 set(SIMD_SOURCES i386/jsimdcpu.asm i386/jfdctflt-3dn.asm
118 i386/jidctflt-3dn.asm i386/jquant-3dn.asm
119 i386/jccolor-mmx.asm i386/jcgray-mmx.asm i386/jcsample-mmx.asm
120 i386/jdcolor-mmx.asm i386/jdmerge-mmx.asm i386/jdsample-mmx.asm
121 i386/jfdctfst-mmx.asm i386/jfdctint-mmx.asm i386/jidctfst-mmx.asm
122 i386/jidctint-mmx.asm i386/jidctred-mmx.asm i386/jquant-mmx.asm
123 i386/jfdctflt-sse.asm i386/jidctflt-sse.asm i386/jquant-sse.asm
124 i386/jccolor-sse2.asm i386/jcgray-sse2.asm i386/jchuff-sse2.asm
125 i386/jcphuff-sse2.asm i386/jcsample-sse2.asm i386/jdcolor-sse2.asm
126 i386/jdmerge-sse2.asm i386/jdsample-sse2.asm i386/jfdctfst-sse2.asm
127 i386/jfdctint-sse2.asm i386/jidctflt-sse2.asm i386/jidctfst-sse2.asm
128 i386/jidctint-sse2.asm i386/jidctred-sse2.asm i386/jquantf-sse2.asm
129 i386/jquanti-sse2.asm
130 i386/jccolor-avx2.asm i386/jcgray-avx2.asm i386/jcsample-avx2.asm
131 i386/jdcolor-avx2.asm i386/jdmerge-avx2.asm i386/jdsample-avx2.asm
132 i386/jfdctint-avx2.asm i386/jidctint-avx2.asm i386/jquanti-avx2.asm)
168 # did in prior versions of libjpeg-turbo. (This is why we can't have nice
173 COMMAND ${CMAKE_ASM_NASM_COMPILER} -f${CMAKE_ASM_NASM_OBJECT_FORMAT}
175 -o${SIMD_OBJ})
186 add_custom_target(simd-objs DEPENDS ${SIMD_OBJS})
187 add_dependencies(simd simd-objs)
197 # ARM (GAS)
210 # Test whether we need gas-preprocessor.pl
232 -x assembler-with-cpp -c ${CMAKE_CURRENT_BINARY_DIR}/gastest.S
235 message(STATUS "GAS appears to be broken. Trying gas-preprocessor.pl ...")
236 execute_process(COMMAND gas-preprocessor.pl ${CMAKE_ASM_COMPILER}
237 ${CMAKE_ASM_FLAGS_SEP} -x assembler-with-cpp -c
241 simd_fail("SIMD extensions disabled: GAS is not working properly")
244 message(STATUS "Using gas-preprocessor.pl")
245 configure_file(gas-preprocessor.in gas-preprocessor @ONLY)
246 set(CMAKE_ASM_COMPILER ${CMAKE_CURRENT_BINARY_DIR}/gas-preprocessor)
249 message(STATUS "GAS is working properly")
262 # MIPS (GAS)
273 set(CMAKE_REQUIRED_FLAGS -mdspr2)
308 set(SIMD_SOURCES loongson/jccolor-mmi.c loongson/jcsample-mmi.c
309 loongson/jdcolor-mmi.c loongson/jdsample-mmi.c loongson/jfdctint-mmi.c
310 loongson/jidctint-mmi.c loongson/jquanti-mmi.c)
315 " -fno-strict-aliasing")
331 set(CMAKE_REQUIRED_FLAGS -maltivec)
349 set(SIMD_SOURCES powerpc/jccolor-altivec.c powerpc/jcgray-altivec.c
350 powerpc/jcsample-altivec.c powerpc/jdcolor-altivec.c
351 powerpc/jdmerge-altivec.c powerpc/jdsample-altivec.c
352 powerpc/jfdctfst-altivec.c powerpc/jfdctint-altivec.c
353 powerpc/jidctfst-altivec.c powerpc/jidctint-altivec.c
354 powerpc/jquanti-altivec.c)
357 COMPILE_FLAGS -maltivec)