* x86-tune-sched.c (ix86_adjust_cost): Fix Zen support.
[official-gcc.git] / gcc / config / i386 / i386.opt
blob9064bf09eb5358e1d5c99ced8b2d9a80e4b8e366
1 ; Options for the IA-32 and AMD64 ports of the compiler.
3 ; Copyright (C) 2005-2017 Free Software Foundation, Inc.
5 ; This file is part of GCC.
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 3, or (at your option) any later
10 ; version.
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3.  If not see
19 ; <http://www.gnu.org/licenses/>.
21 HeaderInclude
22 config/i386/i386-opts.h
24 ; Bit flags that specify the ISA we are compiling for.
25 Variable
26 HOST_WIDE_INT ix86_isa_flags = TARGET_64BIT_DEFAULT | TARGET_SUBTARGET_ISA_DEFAULT
28 Variable
29 HOST_WIDE_INT ix86_isa_flags2 = 0
31 ; A mask of ix86_isa_flags that includes bit X if X was set or cleared
32 ; on the command line.
33 Variable
34 HOST_WIDE_INT ix86_isa_flags_explicit
36 Variable
37 HOST_WIDE_INT ix86_isa_flags2_explicit
39 ; Additional target flags
40 Variable
41 int ix86_target_flags
43 TargetVariable
44 int recip_mask = RECIP_MASK_DEFAULT
46 Variable
47 int recip_mask_explicit
49 TargetSave
50 int x_recip_mask_explicit
52 ;; Definitions to add to the cl_target_option structure
53 ;; -march= processor
54 TargetSave
55 unsigned char arch
57 ;; -mtune= processor
58 TargetSave
59 unsigned char tune
61 ;; -march= processor-string
62 TargetSave
63 const char *x_ix86_arch_string
65 ;; -mtune= processor-string
66 TargetSave
67 const char *x_ix86_tune_string
69 ;; CPU schedule model
70 TargetSave
71 unsigned char schedule
73 ;; True if processor has SSE prefetch instruction.
74 TargetSave
75 unsigned char prefetch_sse
77 ;; branch cost
78 TargetSave
79 unsigned char branch_cost
81 ;; which flags were passed by the user
82 TargetSave
83 HOST_WIDE_INT x_ix86_isa_flags2_explicit
85 ;; which flags were passed by the user
86 TargetSave
87 HOST_WIDE_INT x_ix86_isa_flags_explicit
89 ;; whether -mtune was not specified
90 TargetSave
91 unsigned char tune_defaulted
93 ;; whether -march was specified
94 TargetSave
95 unsigned char arch_specified
97 ;; -mcmodel= model
98 TargetSave
99 enum cmodel x_ix86_cmodel
101 ;; -mabi=
102 TargetSave
103 enum calling_abi x_ix86_abi
105 ;; -masm=
106 TargetSave
107 enum asm_dialect x_ix86_asm_dialect
109 ;; -mbranch-cost=
110 TargetSave
111 int x_ix86_branch_cost
113 ;; -mdump-tune-features=
114 TargetSave
115 int x_ix86_dump_tunes
117 ;; -mstackrealign=
118 TargetSave
119 int x_ix86_force_align_arg_pointer
121 ;; -mforce-drap=
122 TargetSave
123 int x_ix86_force_drap
125 ;; -mincoming-stack-boundary=
126 TargetSave
127 int x_ix86_incoming_stack_boundary_arg
129 ;; -maddress-mode=
130 TargetSave
131 enum pmode x_ix86_pmode
133 ;; -mpreferred-stack-boundary=
134 TargetSave
135 int x_ix86_preferred_stack_boundary_arg
137 ;; -mrecip=
138 TargetSave
139 const char *x_ix86_recip_name
141 ;; -mregparm=
142 TargetSave
143 int x_ix86_regparm
145 ;; -mlarge-data-threshold=
146 TargetSave
147 int x_ix86_section_threshold
149 ;; -msse2avx=
150 TargetSave
151 int x_ix86_sse2avx
153 ;; -mstack-protector-guard=
154 TargetSave
155 enum stack_protector_guard x_ix86_stack_protector_guard
157 ;; -mstringop-strategy=
158 TargetSave
159 enum stringop_alg x_ix86_stringop_alg
161 ;; -mtls-dialect=
162 TargetSave
163 enum tls_dialect x_ix86_tls_dialect
165 ;; -mtune-ctrl=
166 TargetSave
167 const char *x_ix86_tune_ctrl_string
169 ;; -mmemcpy-strategy=
170 TargetSave
171 const char *x_ix86_tune_memcpy_strategy
173 ;; -mmemset-strategy=
174 TargetSave
175 const char *x_ix86_tune_memset_strategy
177 ;; -mno-default=
178 TargetSave
179 int x_ix86_tune_no_default
181 ;; -mveclibabi=
182 TargetSave
183 enum ix86_veclibabi x_ix86_veclibabi_type
185 ;; x86 options
186 m128bit-long-double
187 Target RejectNegative Report Mask(128BIT_LONG_DOUBLE) Save
188 sizeof(long double) is 16.
190 m80387
191 Target Report Mask(80387) Save
192 Use hardware fp.
194 m96bit-long-double
195 Target RejectNegative Report InverseMask(128BIT_LONG_DOUBLE) Save
196 sizeof(long double) is 12.
198 mlong-double-80
199 Target Report RejectNegative Negative(mlong-double-64) InverseMask(LONG_DOUBLE_64) Save
200 Use 80-bit long double.
202 mlong-double-64
203 Target Report RejectNegative Negative(mlong-double-128) Mask(LONG_DOUBLE_64) InverseMask(LONG_DOUBLE_128) Save
204 Use 64-bit long double.
206 mlong-double-128
207 Target Report RejectNegative Negative(mlong-double-80) Mask(LONG_DOUBLE_128) InverseMask(LONG_DOUBLE_64) Save
208 Use 128-bit long double.
210 maccumulate-outgoing-args
211 Target Report Mask(ACCUMULATE_OUTGOING_ARGS) Save
212 Reserve space for outgoing arguments in the function prologue.
214 malign-double
215 Target Report Mask(ALIGN_DOUBLE) Save
216 Align some doubles on dword boundary.
218 malign-functions=
219 Target RejectNegative Joined UInteger
220 Function starts are aligned to this power of 2.
222 malign-jumps=
223 Target RejectNegative Joined UInteger
224 Jump targets are aligned to this power of 2.
226 malign-loops=
227 Target RejectNegative Joined UInteger
228 Loop code aligned to this power of 2.
230 malign-stringops
231 Target RejectNegative Report InverseMask(NO_ALIGN_STRINGOPS, ALIGN_STRINGOPS) Save
232 Align destination of the string operations.
234 malign-data=
235 Target RejectNegative Joined Var(ix86_align_data_type) Enum(ix86_align_data) Init(ix86_align_data_type_compat)
236 Use the given data alignment.
238 Enum
239 Name(ix86_align_data) Type(enum ix86_align_data)
240 Known data alignment choices (for use with the -malign-data= option):
242 EnumValue
243 Enum(ix86_align_data) String(compat) Value(ix86_align_data_type_compat)
245 EnumValue
246 Enum(ix86_align_data) String(abi) Value(ix86_align_data_type_abi)
248 EnumValue
249 Enum(ix86_align_data) String(cacheline) Value(ix86_align_data_type_cacheline)
251 march=
252 Target RejectNegative Joined Var(ix86_arch_string)
253 Generate code for given CPU.
255 masm=
256 Target RejectNegative Joined Enum(asm_dialect) Var(ix86_asm_dialect) Init(ASM_ATT)
257 Use given assembler dialect.
259 Enum
260 Name(asm_dialect) Type(enum asm_dialect)
261 Known assembler dialects (for use with the -masm= option):
263 EnumValue
264 Enum(asm_dialect) String(intel) Value(ASM_INTEL)
266 EnumValue
267 Enum(asm_dialect) String(att) Value(ASM_ATT)
269 mbranch-cost=
270 Target RejectNegative Joined UInteger Var(ix86_branch_cost) IntegerRange(0, 5)
271 Branches are this expensive (arbitrary units).
273 mlarge-data-threshold=
274 Target RejectNegative Joined UInteger Var(ix86_section_threshold) Init(DEFAULT_LARGE_SECTION_THRESHOLD)
275 -mlarge-data-threshold=<number> Data greater than given threshold will go into .ldata section in x86-64 medium model.
277 mcmodel=
278 Target RejectNegative Joined Enum(cmodel) Var(ix86_cmodel) Init(CM_32)
279 Use given x86-64 code model.
281 Enum
282 Name(cmodel) Type(enum cmodel)
283 Known code models (for use with the -mcmodel= option):
285 EnumValue
286 Enum(cmodel) String(small) Value(CM_SMALL)
288 EnumValue
289 Enum(cmodel) String(medium) Value(CM_MEDIUM)
291 EnumValue
292 Enum(cmodel) String(large) Value(CM_LARGE)
294 EnumValue
295 Enum(cmodel) String(32) Value(CM_32)
297 EnumValue
298 Enum(cmodel) String(kernel) Value(CM_KERNEL)
300 maddress-mode=
301 Target RejectNegative Joined Enum(pmode) Var(ix86_pmode) Init(PMODE_SI)
302 Use given address mode.
304 Enum
305 Name(pmode) Type(enum pmode)
306 Known address mode (for use with the -maddress-mode= option):
308 EnumValue
309 Enum(pmode) String(short) Value(PMODE_SI)
311 EnumValue
312 Enum(pmode) String(long) Value(PMODE_DI)
314 mcpu=
315 Target RejectNegative Joined Undocumented Alias(mtune=) Warn(%<-mcpu=%> is deprecated; use %<-mtune=%> or %<-march=%> instead)
317 mfancy-math-387
318 Target RejectNegative Report InverseMask(NO_FANCY_MATH_387, USE_FANCY_MATH_387) Save
319 Generate sin, cos, sqrt for FPU.
321 mforce-drap
322 Target Report Var(ix86_force_drap)
323 Always use Dynamic Realigned Argument Pointer (DRAP) to realign stack.
325 mfp-ret-in-387
326 Target Report Mask(FLOAT_RETURNS) Save
327 Return values of functions in FPU registers.
329 mfpmath=
330 Target RejectNegative Joined Var(ix86_fpmath) Enum(fpmath_unit) Init(FPMATH_387) Save
331 Generate floating point mathematics using given instruction set.
333 Enum
334 Name(fpmath_unit) Type(enum fpmath_unit)
335 Valid arguments to -mfpmath=:
337 EnumValue
338 Enum(fpmath_unit) String(387) Value(FPMATH_387)
340 EnumValue
341 Enum(fpmath_unit) String(sse) Value(FPMATH_SSE)
343 EnumValue
344 Enum(fpmath_unit) String(387,sse) Value({(enum fpmath_unit) (FPMATH_SSE | FPMATH_387)})
346 EnumValue
347 Enum(fpmath_unit) String(387+sse) Value({(enum fpmath_unit) (FPMATH_SSE | FPMATH_387)})
349 EnumValue
350 Enum(fpmath_unit) String(sse,387) Value({(enum fpmath_unit) (FPMATH_SSE | FPMATH_387)})
352 EnumValue
353 Enum(fpmath_unit) String(sse+387) Value({(enum fpmath_unit) (FPMATH_SSE | FPMATH_387)})
355 EnumValue
356 Enum(fpmath_unit) String(both) Value({(enum fpmath_unit) (FPMATH_SSE | FPMATH_387)})
358 mhard-float
359 Target RejectNegative Mask(80387) Save
360 Use hardware fp.
362 mieee-fp
363 Target Report Mask(IEEE_FP) Save
364 Use IEEE math for fp comparisons.
366 minline-all-stringops
367 Target Report Mask(INLINE_ALL_STRINGOPS) Save
368 Inline all known string operations.
370 minline-stringops-dynamically
371 Target Report Mask(INLINE_STRINGOPS_DYNAMICALLY) Save
372 Inline memset/memcpy string operations, but perform inline version only for small blocks.
374 mintel-syntax
375 Target Undocumented Alias(masm=, intel, att) Warn(%<-mintel-syntax%> and %<-mno-intel-syntax%> are deprecated; use %<-masm=intel%> and %<-masm=att%> instead)
376 ;; Deprecated
378 mms-bitfields
379 Target Report Mask(MS_BITFIELD_LAYOUT) Save
380 Use native (MS) bitfield layout.
382 mno-align-stringops
383 Target RejectNegative Report Mask(NO_ALIGN_STRINGOPS) Undocumented Save
385 mno-fancy-math-387
386 Target RejectNegative Report Mask(NO_FANCY_MATH_387) Undocumented Save
388 mno-push-args
389 Target RejectNegative Report Mask(NO_PUSH_ARGS) Undocumented Save
391 mno-red-zone
392 Target RejectNegative Report Mask(NO_RED_ZONE) Undocumented Save
394 momit-leaf-frame-pointer
395 Target Report Mask(OMIT_LEAF_FRAME_POINTER) Save
396 Omit the frame pointer in leaf functions.
398 mpc32
399 Target RejectNegative Report
400 Set 80387 floating-point precision to 32-bit.
402 mpc64
403 Target RejectNegative Report
404 Set 80387 floating-point precision to 64-bit.
406 mpc80
407 Target RejectNegative Report
408 Set 80387 floating-point precision to 80-bit.
410 mpreferred-stack-boundary=
411 Target RejectNegative Joined UInteger Var(ix86_preferred_stack_boundary_arg)
412 Attempt to keep stack aligned to this power of 2.
414 mincoming-stack-boundary=
415 Target RejectNegative Joined UInteger Var(ix86_incoming_stack_boundary_arg)
416 Assume incoming stack aligned to this power of 2.
418 mpush-args
419 Target Report InverseMask(NO_PUSH_ARGS, PUSH_ARGS) Save
420 Use push instructions to save outgoing arguments.
422 mred-zone
423 Target RejectNegative Report InverseMask(NO_RED_ZONE, RED_ZONE) Save
424 Use red-zone in the x86-64 code.
426 mregparm=
427 Target RejectNegative Joined UInteger Var(ix86_regparm)
428 Number of registers used to pass integer arguments.
430 mrtd
431 Target Report Mask(RTD) Save
432 Alternate calling convention.
434 msoft-float
435 Target InverseMask(80387) Save
436 Do not use hardware fp.
438 msseregparm
439 Target RejectNegative Mask(SSEREGPARM) Save
440 Use SSE register passing conventions for SF and DF mode.
442 mstackrealign
443 Target Report Var(ix86_force_align_arg_pointer)
444 Realign stack in prologue.
446 mstack-arg-probe
447 Target Report Mask(STACK_PROBE) Save
448 Enable stack probing.
450 mmemcpy-strategy=
451 Target RejectNegative Joined Var(ix86_tune_memcpy_strategy)
452 Specify memcpy expansion strategy when expected size is known.
454 mmemset-strategy=
455 Target RejectNegative Joined Var(ix86_tune_memset_strategy)
456 Specify memset expansion strategy when expected size is known.
458 mstringop-strategy=
459 Target RejectNegative Joined Enum(stringop_alg) Var(ix86_stringop_alg) Init(no_stringop)
460 Chose strategy to generate stringop using.
462 Enum
463 Name(stringop_alg) Type(enum stringop_alg)
464 Valid arguments to -mstringop-strategy=:
466 EnumValue
467 Enum(stringop_alg) String(rep_byte) Value(rep_prefix_1_byte)
469 EnumValue
470 Enum(stringop_alg) String(libcall) Value(libcall)
472 EnumValue
473 Enum(stringop_alg) String(rep_4byte) Value(rep_prefix_4_byte)
475 EnumValue
476 Enum(stringop_alg) String(rep_8byte) Value(rep_prefix_8_byte)
478 EnumValue
479 Enum(stringop_alg) String(byte_loop) Value(loop_1_byte)
481 EnumValue
482 Enum(stringop_alg) String(loop) Value(loop)
484 EnumValue
485 Enum(stringop_alg) String(unrolled_loop) Value(unrolled_loop)
487 EnumValue
488 Enum(stringop_alg) String(vector_loop) Value(vector_loop)
490 mtls-dialect=
491 Target RejectNegative Joined Var(ix86_tls_dialect) Enum(tls_dialect) Init(TLS_DIALECT_GNU)
492 Use given thread-local storage dialect.
494 Enum
495 Name(tls_dialect) Type(enum tls_dialect)
496 Known TLS dialects (for use with the -mtls-dialect= option):
498 EnumValue
499 Enum(tls_dialect) String(gnu) Value(TLS_DIALECT_GNU)
501 EnumValue
502 Enum(tls_dialect) String(gnu2) Value(TLS_DIALECT_GNU2)
504 mtls-direct-seg-refs
505 Target Report Mask(TLS_DIRECT_SEG_REFS)
506 Use direct references against %gs when accessing tls data.
508 mtune=
509 Target RejectNegative Joined Var(ix86_tune_string)
510 Schedule code for given CPU.
512 mtune-ctrl=
513 Target RejectNegative Joined Var(ix86_tune_ctrl_string)
514 Fine grain control of tune features.
516 mno-default
517 Target RejectNegative Var(ix86_tune_no_default)
518 Clear all tune features.
520 mdump-tune-features
521 Target RejectNegative Var(ix86_dump_tunes)
523 miamcu
524 Target Report Mask(IAMCU)
525 Generate code that conforms to Intel MCU psABI.
527 mabi=
528 Target RejectNegative Joined Var(ix86_abi) Enum(calling_abi) Init(SYSV_ABI)
529 Generate code that conforms to the given ABI.
531 Enum
532 Name(calling_abi) Type(enum calling_abi)
533 Known ABIs (for use with the -mabi= option):
535 EnumValue
536 Enum(calling_abi) String(sysv) Value(SYSV_ABI)
538 EnumValue
539 Enum(calling_abi) String(ms) Value(MS_ABI)
541 mcall-ms2sysv-xlogues
542 Target Report Mask(CALL_MS2SYSV_XLOGUES) Save
543 Use libgcc stubs to save and restore registers clobbered by 64-bit Microsoft to System V ABI calls.
545 mveclibabi=
546 Target RejectNegative Joined Var(ix86_veclibabi_type) Enum(ix86_veclibabi) Init(ix86_veclibabi_type_none)
547 Vector library ABI to use.
549 Enum
550 Name(ix86_veclibabi) Type(enum ix86_veclibabi)
551 Known vectorization library ABIs (for use with the -mveclibabi= option):
553 EnumValue
554 Enum(ix86_veclibabi) String(svml) Value(ix86_veclibabi_type_svml)
556 EnumValue
557 Enum(ix86_veclibabi) String(acml) Value(ix86_veclibabi_type_acml)
559 mvect8-ret-in-mem
560 Target Report Mask(VECT8_RETURNS) Save
561 Return 8-byte vectors in memory.
563 mrecip
564 Target Report Mask(RECIP) Save
565 Generate reciprocals instead of divss and sqrtss.
567 mrecip=
568 Target Report RejectNegative Joined Var(ix86_recip_name)
569 Control generation of reciprocal estimates.
571 mcld
572 Target Report Mask(CLD) Save
573 Generate cld instruction in the function prologue.
575 mvzeroupper
576 Target Report Mask(VZEROUPPER) Save
577 Generate vzeroupper instruction before a transfer of control flow out of
578 the function.
580 mstv
581 Target Report Mask(STV) Save
582 Disable Scalar to Vector optimization pass transforming 64-bit integer
583 computations into a vector ones.
585 mdispatch-scheduler
586 Target RejectNegative Var(flag_dispatch_scheduler)
587 Do dispatch scheduling if processor is bdver1, bdver2, bdver3, bdver4
588 or znver1 and Haifa scheduling is selected.
590 mprefer-avx128
591 Target Report Mask(PREFER_AVX128) Save
592 Use 128-bit AVX instructions instead of 256-bit AVX instructions in the auto-vectorizer.
594 mprefer-avx256
595 Target Report Mask(PREFER_AVX256) Var(ix86_target_flags) Save
596 Use 256-bit AVX instructions instead of 512-bit AVX instructions in the auto-vectorizer.
598 ;; ISA support
601 Target RejectNegative Negative(m64) Report InverseMask(ISA_64BIT) Var(ix86_isa_flags) Save
602 Generate 32bit i386 code.
605 Target RejectNegative Negative(mx32) Report Mask(ABI_64) Var(ix86_isa_flags) Save
606 Generate 64bit x86-64 code.
608 mx32
609 Target RejectNegative Negative(m16) Report Mask(ABI_X32) Var(ix86_isa_flags) Save
610 Generate 32bit x86-64 code.
613 Target RejectNegative Negative(m32) Report Mask(CODE16) InverseMask(ISA_64BIT) Var(ix86_isa_flags) Save
614 Generate 16bit i386 code.
616 mmmx
617 Target Report Mask(ISA_MMX) Var(ix86_isa_flags) Save
618 Support MMX built-in functions.
620 m3dnow
621 Target Report Mask(ISA_3DNOW) Var(ix86_isa_flags) Save
622 Support 3DNow! built-in functions.
624 m3dnowa
625 Target Report Mask(ISA_3DNOW_A) Var(ix86_isa_flags) Save
626 Support Athlon 3Dnow! built-in functions.
628 msse
629 Target Report Mask(ISA_SSE) Var(ix86_isa_flags) Save
630 Support MMX and SSE built-in functions and code generation.
632 msse2
633 Target Report Mask(ISA_SSE2) Var(ix86_isa_flags) Save
634 Support MMX, SSE and SSE2 built-in functions and code generation.
636 msse3
637 Target Report Mask(ISA_SSE3) Var(ix86_isa_flags) Save
638 Support MMX, SSE, SSE2 and SSE3 built-in functions and code generation.
640 mssse3
641 Target Report Mask(ISA_SSSE3) Var(ix86_isa_flags) Save
642 Support MMX, SSE, SSE2, SSE3 and SSSE3 built-in functions and code generation.
644 msse4.1
645 Target Report Mask(ISA_SSE4_1) Var(ix86_isa_flags) Save
646 Support MMX, SSE, SSE2, SSE3, SSSE3 and SSE4.1 built-in functions and code generation.
648 msse4.2
649 Target Report Mask(ISA_SSE4_2) Var(ix86_isa_flags) Save
650 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation.
652 msse4
653 Target RejectNegative Report Mask(ISA_SSE4_2) Var(ix86_isa_flags) Save
654 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation.
656 mno-sse4
657 Target RejectNegative Report InverseMask(ISA_SSE4_1) Var(ix86_isa_flags) Save
658 Do not support SSE4.1 and SSE4.2 built-in functions and code generation.
660 msse5
661 Target Undocumented Alias(mavx) Warn(%<-msse5%> was removed)
662 ;; Deprecated
664 mavx
665 Target Report Mask(ISA_AVX) Var(ix86_isa_flags) Save
666 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2 and AVX built-in functions and code generation.
668 mavx2
669 Target Report Mask(ISA_AVX2) Var(ix86_isa_flags) Save
670 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and AVX2 built-in functions and code generation.
672 mavx512f
673 Target Report Mask(ISA_AVX512F) Var(ix86_isa_flags) Save
674 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F built-in functions and code generation.
676 mavx512pf
677 Target Report Mask(ISA_AVX512PF) Var(ix86_isa_flags) Save
678 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512PF built-in functions and code generation.
680 mavx512er
681 Target Report Mask(ISA_AVX512ER) Var(ix86_isa_flags) Save
682 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512ER built-in functions and code generation.
684 mavx512cd
685 Target Report Mask(ISA_AVX512CD) Var(ix86_isa_flags) Save
686 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512CD built-in functions and code generation.
688 mavx512dq
689 Target Report Mask(ISA_AVX512DQ) Var(ix86_isa_flags) Save
690 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512DQ built-in functions and code generation.
692 mavx512bw
693 Target Report Mask(ISA_AVX512BW) Var(ix86_isa_flags) Save
694 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512BW built-in functions and code generation.
696 mavx512vl
697 Target Report Mask(ISA_AVX512VL) Var(ix86_isa_flags) Save
698 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512VL built-in functions and code generation.
700 mavx512ifma
701 Target Report Mask(ISA_AVX512IFMA) Var(ix86_isa_flags) Save
702 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512IFMA built-in functions and code generation.
704 mavx512vbmi
705 Target Report Mask(ISA_AVX512VBMI) Var(ix86_isa_flags) Save
706 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 and AVX512F and AVX512VBMI built-in functions and code generation.
708 mavx5124fmaps
709 Target Report Mask(ISA_AVX5124FMAPS) Var(ix86_isa_flags2) Save
710 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512F and AVX5124FMAPS built-in functions and code generation.
712 mavx5124vnniw
713 Target Report Mask(ISA_AVX5124VNNIW) Var(ix86_isa_flags2) Save
714 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512F and AVX5124VNNIW built-in functions and code generation.
716 mavx512vpopcntdq
717 Target Report Mask(ISA_AVX512VPOPCNTDQ) Var(ix86_isa_flags2) Save
718 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512F and AVX512VPOPCNTDQ built-in functions and code generation.
720 mfma
721 Target Report Mask(ISA_FMA) Var(ix86_isa_flags) Save
722 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and FMA built-in functions and code generation.
724 msse4a
725 Target Report Mask(ISA_SSE4A) Var(ix86_isa_flags) Save
726 Support MMX, SSE, SSE2, SSE3 and SSE4A built-in functions and code generation.
728 mfma4
729 Target Report Mask(ISA_FMA4) Var(ix86_isa_flags) Save
730 Support FMA4 built-in functions and code generation.
732 mxop
733 Target Report Mask(ISA_XOP) Var(ix86_isa_flags) Save
734 Support XOP built-in functions and code generation.
736 mlwp
737 Target Report Mask(ISA_LWP) Var(ix86_isa_flags) Save
738 Support LWP built-in functions and code generation.
740 mabm
741 Target Report Mask(ISA_ABM) Var(ix86_isa_flags) Save
742 Support code generation of Advanced Bit Manipulation (ABM) instructions.
744 mpopcnt
745 Target Report Mask(ISA_POPCNT) Var(ix86_isa_flags) Save
746 Support code generation of popcnt instruction.
748 msgx
749 Target Report Mask(ISA_SGX) Var(ix86_isa_flags2) Save
750 Support SGX built-in functions and code generation.
752 mrdpid
753 Target Report Mask(ISA_RDPID) Var(ix86_isa_flags2) Save
754 Support RDPID built-in functions and code generation.
756 mbmi
757 Target Report Mask(ISA_BMI) Var(ix86_isa_flags) Save
758 Support BMI built-in functions and code generation.
760 mbmi2
761 Target Report Mask(ISA_BMI2) Var(ix86_isa_flags) Save
762 Support BMI2 built-in functions and code generation.
764 mlzcnt
765 Target Report Mask(ISA_LZCNT) Var(ix86_isa_flags) Save
766 Support LZCNT built-in function and code generation.
768 mhle
769 Target Report Mask(ISA_HLE) Var(ix86_isa_flags) Save
770 Support Hardware Lock Elision prefixes.
772 mrdseed
773 Target Report Mask(ISA_RDSEED) Var(ix86_isa_flags) Save
774 Support RDSEED instruction.
776 mprfchw
777 Target Report Mask(ISA_PRFCHW) Var(ix86_isa_flags) Save
778 Support PREFETCHW instruction.
780 madx
781 Target Report Mask(ISA_ADX) Var(ix86_isa_flags) Save
782 Support flag-preserving add-carry instructions.
784 mclflushopt
785 Target Report Mask(ISA_CLFLUSHOPT) Var(ix86_isa_flags) Save
786 Support CLFLUSHOPT instructions.
788 mclwb
789 Target Report Mask(ISA_CLWB) Var(ix86_isa_flags) Save
790 Support CLWB instruction.
792 mpcommit
793 Target Undocumented Warn(%<-mpcommit%> was deprecated)
794 ;; Deprecated
796 mfxsr
797 Target Report Mask(ISA_FXSR) Var(ix86_isa_flags) Save
798 Support FXSAVE and FXRSTOR instructions.
800 mxsave
801 Target Report Mask(ISA_XSAVE) Var(ix86_isa_flags) Save
802 Support XSAVE and XRSTOR instructions.
804 mxsaveopt
805 Target Report Mask(ISA_XSAVEOPT) Var(ix86_isa_flags) Save
806 Support XSAVEOPT instruction.
808 mxsavec
809 Target Report Mask(ISA_XSAVEC) Var(ix86_isa_flags) Save
810 Support XSAVEC instructions.
812 mxsaves
813 Target Report Mask(ISA_XSAVES) Var(ix86_isa_flags) Save
814 Support XSAVES and XRSTORS instructions.
816 mtbm
817 Target Report Mask(ISA_TBM) Var(ix86_isa_flags) Save
818 Support TBM built-in functions and code generation.
820 mcx16
821 Target Report Mask(ISA_CX16) Var(ix86_isa_flags) Save
822 Support code generation of cmpxchg16b instruction.
824 msahf
825 Target Report Mask(ISA_SAHF) Var(ix86_isa_flags) Save
826 Support code generation of sahf instruction in 64bit x86-64 code.
828 mmovbe
829 Target Report Mask(ISA_MOVBE) Var(ix86_isa_flags) Save
830 Support code generation of movbe instruction.
832 mcrc32
833 Target Report Mask(ISA_CRC32) Var(ix86_isa_flags) Save
834 Support code generation of crc32 instruction.
836 maes
837 Target Report Mask(ISA_AES) Var(ix86_isa_flags) Save
838 Support AES built-in functions and code generation.
840 msha
841 Target Report Mask(ISA_SHA) Var(ix86_isa_flags) Save
842 Support SHA1 and SHA256 built-in functions and code generation.
844 mpclmul
845 Target Report Mask(ISA_PCLMUL) Var(ix86_isa_flags) Save
846 Support PCLMUL built-in functions and code generation.
848 msse2avx
849 Target Report Var(ix86_sse2avx)
850 Encode SSE instructions with VEX prefix.
852 mfsgsbase
853 Target Report Mask(ISA_FSGSBASE) Var(ix86_isa_flags) Save
854 Support FSGSBASE built-in functions and code generation.
856 mrdrnd
857 Target Report Mask(ISA_RDRND) Var(ix86_isa_flags) Save
858 Support RDRND built-in functions and code generation.
860 mf16c
861 Target Report Mask(ISA_F16C) Var(ix86_isa_flags) Save
862 Support F16C built-in functions and code generation.
864 mprefetchwt1
865 Target Report Mask(ISA_PREFETCHWT1) Var(ix86_isa_flags) Save
866 Support PREFETCHWT1 built-in functions and code generation.
868 mfentry
869 Target Report Var(flag_fentry)
870 Emit profiling counter call at function entry before prologue.
872 mrecord-mcount
873 Target Report Var(flag_record_mcount)
874 Generate __mcount_loc section with all mcount or __fentry__ calls.
876 mnop-mcount
877 Target Report Var(flag_nop_mcount)
878 Generate mcount/__fentry__ calls as nops. To activate they need to be
879 patched in.
881 mskip-rax-setup
882 Target Report Var(flag_skip_rax_setup)
883 Skip setting up RAX register when passing variable arguments.
885 m8bit-idiv
886 Target Report Mask(USE_8BIT_IDIV) Save
887 Expand 32bit/64bit integer divide into 8bit unsigned integer divide with run-time check.
889 mavx256-split-unaligned-load
890 Target Report Mask(AVX256_SPLIT_UNALIGNED_LOAD) Save
891 Split 32-byte AVX unaligned load.
893 mavx256-split-unaligned-store
894 Target Report Mask(AVX256_SPLIT_UNALIGNED_STORE) Save
895 Split 32-byte AVX unaligned store.
897 mrtm
898 Target Report Mask(ISA_RTM) Var(ix86_isa_flags) Save
899 Support RTM built-in functions and code generation.
901 mmpx
902 Target Report Mask(ISA_MPX) Var(ix86_isa_flags) Save
903 Support MPX code generation.
905 mmwaitx
906 Target Report Mask(ISA_MWAITX) Var(ix86_isa_flags) Save
907 Support MWAITX and MONITORX built-in functions and code generation.
909 mclzero
910 Target Report Mask(ISA_CLZERO) Var(ix86_isa_flags) Save
911 Support CLZERO built-in functions and code generation.
913 mpku
914 Target Report Mask(ISA_PKU) Var(ix86_isa_flags) Save
915 Support PKU built-in functions and code generation.
917 mstack-protector-guard=
918 Target RejectNegative Joined Enum(stack_protector_guard) Var(ix86_stack_protector_guard) Init(SSP_TLS)
919 Use given stack-protector guard.
921 Enum
922 Name(stack_protector_guard) Type(enum stack_protector_guard)
923 Known stack protector guard (for use with the -mstack-protector-guard= option):
925 EnumValue
926 Enum(stack_protector_guard) String(tls) Value(SSP_TLS)
928 EnumValue
929 Enum(stack_protector_guard) String(global) Value(SSP_GLOBAL)
931 mstack-protector-guard-reg=
932 Target RejectNegative Joined Var(ix86_stack_protector_guard_reg_str)
933 Use the given base register for addressing the stack-protector guard.
935 TargetVariable
936 addr_space_t ix86_stack_protector_guard_reg = ADDR_SPACE_GENERIC
938 mstack-protector-guard-offset=
939 Target RejectNegative Joined Integer Var(ix86_stack_protector_guard_offset_str)
940 Use the given offset for addressing the stack-protector guard.
942 TargetVariable
943 HOST_WIDE_INT ix86_stack_protector_guard_offset = 0
945 mstack-protector-guard-symbol=
946 Target RejectNegative Joined Integer Var(ix86_stack_protector_guard_symbol_str)
947 Use the given symbol for addressing the stack-protector guard.
949 mmitigate-rop
950 Target Var(flag_mitigate_rop)
951 Attempt to avoid generating instruction sequences containing ret bytes.
953 mgeneral-regs-only
954 Target Report RejectNegative Mask(GENERAL_REGS_ONLY) Var(ix86_target_flags) Save
955 Generate code which uses only the general registers.