These are flags that appear in the benchmark sources, categorized as to whether they are portability candidates, mandatory, or forbidden.
Selecting one of the following will take you directly to that section:
This disables some compatibility function name translations for Windows that are not needed when building with Microsoft Visual Studio 2013 and later.
Fix alignment issue on platforms, such as Windows, where stack alignment is not guaranteed.
The log2() and log2f() functions are required by the C99 standard and are assumed to be available on all platforms other than Windows. Windows users may specify availability of these functions by defining this macro. Otherwise, an implementation will be provided by the benchmark.
Define if stdint.h is not available. The included "pstdint.h" will be used instead.
Enable if the compilation environment does not support the "log2" or "log2f" routines.
Uses on Windows when the compiler defines the inline keyword without an underbar, i.e. "inline". MSC defines it with an underbar, i.e. "_inline".
Define when using a big endian system.
This flag is included automatically by Spec/object.pm. Adds the include directory paths to the compilation.
Disable debugging information.
Enables the use of Grayscale images in the decoder. Not used in SPEC CPU version.
Enable ARM specific support.
Enable Power PC specific support.
Enable Ultra Sparc specific support.
Enable x86 specific support.
Enable x86 64-bit specific support.
Allow for AVS formatted input files.
Defined in the decoder to allow for context initization tables.
Enable debugging info in decoder.
Enable debugging info in encoder.
Automatically disabled in the source.
Disable any error concealment processes in the decoder. Enabled in the source.
Enable debugging info in decoder.
When compiling with GNU and when included in a library, this section of code in the encoder may be omitted.
Enables Field mode related context types for CABAC in the decoder. Enabled by default.
Enables High 444 profile context types for CABAC in the decoder. Enabled by default.
This is for GNU distributions with internationalized messages.
Enable tone map the output if tone mapping SEI present in the decoder. Enabled by default.
If defined, define "Boolean" as an "int". Otherwise define "Boolean" as an enum type where FALSE==0, TRUE==1.
Enable a faster method for reading files in the decoder. Enabled by default.
Allow for FFMS formatted input files.
Enable ALTIVEC specific support.
Enable ARMv6 specific support.
Defined if there is a x264_config.h available.
Defined malloc as "gf_malloc" and free as "gf_free".
This is for GNU distributions with internationalized messages.
Define if a system malloc.h is available.
Define if MMX instructions are available.
Defined if a Neon FP unit is available.
Running with pthreads is not supported.
Define if a system stdint.h header file is available.
Define if a system string.h header file is available.
Define to enable visualization support. Not included in SPEC CPU version.
Define if parameters are included by a config file.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
Work around for Open Watcom issue.
1: J = (D<<LAMBDA_ACCURACY_BITS)+Lambda*R; 0: J = D + ((Lambda*R+Rounding)>>LAMBDA_ACCURACY_BITS). Set to 1 in the decoder.
Enables Parallel Deblocking. Set to 0 in the decoder.
Allow for lavf input files.
Define the value of LONG_LONG_MAX. Set internally.
Define the value of LONG_MAX. Set internally.
Define the value of MAXINT64. Set internally.
Allow of MP4 output.
Enable support for the Multiview High Profile. Enabled by default in the decoder.
Define when OpenMP is used. However, the SPEC CPU version does not include any OpenMP pragmas.
Pair field pictures for output purposes. Set internally to 0.
If not defined in stdint.h, set printf's 16-bit int decimal width.
If not defined in stdint.h, set printf's 16-bit int hexadecimal width.
If not defined in stdint.h, set printf's 16-bit int modifier width.
If not defined in stdint.h, set printf's 32-bit int decimal width.
If not defined in stdint.h, set printf's 32-bit int hexadecimal width.
If not defined in stdint.h, set printf's 32-bit int modifier width.
If not defined in stdint.h, set printf's 64-bit int decimal width.
If not defined in stdint.h, set printf's 64-bit int hexadecimal width.
If not defined in stdint.h, set printf's 64-bit int modifier width.
If not defined in stdint.h, set printf's 8-bit int decimal width.
If not defined in stdint.h, set printf's 8-bit int hexadecimal width.
If not defined in stdint.h, set printf's maximum int decimal width.
If not defined in stdint.h, set printf's maximum int hexadecimal width.
If not defined in stdint.h, set printf's maximum int modifer width.
If not defined in stdint.h, set printf's int modifer.
Print ref list info for debug purposes. Set internally to zero.
Print buffering period SEI info.
Print deblocking filter display preference SEI info.
Print decoded picture buffer management repetition SEI info.
Print filler payload SEI info.
Print Film grain characteristics SEI info.
Print FMO Maps.
Print frame packing arrangement SEI info.
Print full-frame freeze SEI info.
Print full-frame freeze release SEI info.
Print full-frame snapshot SEI info.
Print Motion-constrained slice group set SEI info.
Print POC information to stdout.
Print pan-scan rectangle SEI info.
Print picture timing SEI info.
Print post-filter hint SEI info.
Print Progressive refinement segment end SEI info.
Print Progressive refinement segment start SEI info.
Print random access point SEI info.
Print reserved SEI info.
Print scene information SEI info.
Print stereo video SEI info.
Print sub-sequence characteristics SEI info.
Print sub-sequence SEI info
Print sub-sequence characteristics SEI info.
Print tone-mapping SEI info.
Print ITU-T T.35 user data SEI info.
Print unregistered user data SEI info.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
(u)intptr_t may or may not be defined. Test for its presence with the test: #ifdef PTRDIFF_MAX. If this is not defined for your platform, then it is because this file has not yet been extended to cover all of your system's capabilities, not because its optional.
Should be defined by system headers. If not add a definition.
Defined when creating a Windows pthreaded static library.
Defined internally to zero so RDO can not be skipped.
Define only if not defined in the system inttypes.h.
Define only if not defined in the system inttypes.h.
Guard for the sei.h header file.
If sigatomic_t is not defined for your system, define it.
If SIZE_MAX is not defined, define it as (~(size_t)0).
Running with pthreads is not supported.
On Windows, define "int64" as "long long". The default is to define "int64" as "int64_t".
Defined if uintptr_t types and limits are defined.
Include BEOS specific header files.
Include FREEBSD specific header files.
Include Linux specific header files.
Include MacOSX specific header files.
Include Mingw specific header files.
Include OpenBSD specific header files.
Include SunOS specific header files.
Used when defining S_ISREG, if S_ISREG is not already defined.
Define S_ISREG, if S_ISREG is not already defined by the system.
Enable test driver for the getopt.c source.
0:Trace off 1:Trace on 2:detailed CABAC context information. Defined internally to 0.
If defined, include getopt nonoption_flags.
Use the real pthread library.
Round the weighted cost.
Include VMS specific header files.
Define when using Windows. Please use SPEC_WINDOWS instead.
Define when using 64-bit Windows. Please use SPEC_WINDOWS instead.
Write spare picture map.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Use the PSNR computation method. Defined internally to zero.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Defined by the Cray C compiler.
Enabled debug code.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Define a debugging file pointer that's never used.
Header file guard.
Header file guard.
Header file guard.
Header file guard. Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Used to determine if inttypes.h has been included.
Used to determine if inttypes.h has been included.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Use a leaky bucket parameter file.
Header file guard.
Used to determine is libc is defined.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Defined by the Microsoft C compiler.
Header file guard.
Header file guard.
Header file guard.
This tells Alpha OSF/1 and AIX 3.2 not to define a getopt prototype in stdio.h. Defined by default.
Gets defined when OpenMP is enabled. OpenMP is not used in the SPEC CPU version.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Header file guard.
Automatically defined by a compiler when building on Windows.
Header file guard.
Automatically defined by a compiler when building on 64-bit Windows.
Defined by the Apple C compiler.
Defined by the Borland C compiler.
Defined by the DEC C compiler.
Defined by the GNU compiler and set to the compilers minor version number.
Defined by the GNU C compiler.
Defined by the Intel Compiler.
Defined bu the Mingw compiler.
Defined by the Metroworks compiler.
Defined by the compiler when SSE is available.
The std C verionsion number supported by the compiler.
The std C verionsion number supported by the compiler.
Defined is standard C is supported by the compiler.
Defined by teh Sun Pro C compiler.
Defined by the Sun Pro C compiler.
Defined by the Turbo C compiler.
Defined by the Watcom C compiler.
Defined by the Watcom C compiler.
Defined when compiling on an Alpha system.
Defined when compiling on an Alpha system.
Defined when using a C++ compiler.
Defined by the compiler when targeting the i386 family of systems.
Defined by the compiler when targeting an Itanium system.
Defined by the compiler when targeting an x86 64-bit system.