Commit a7b2e184 by Martin Sebor Committed by Martin Sebor

Improve --help output to generate references to option aliases.

gcc/
	PR driver/68043
	* opts.c (undocumented_msg, use_diagnosed_msg): New globals.
	(print_filtered_help): Reference aliased option's name and encourage
	readers to use it in preference to the alias if the former is not
	documented.  Mention when using an option is diagnosed.
	* gcc.c (display_help): End each sentence with a period.

	* ada/gcc-interface/lang.opt: End each sentence that describes
	an option with a period.
	* c-family/c.opt: Same.
	* common.opt: Same.
	* config/aarch64/aarch64.opt: Same.
	* config/alpha/alpha.opt: Same.
	* config/arc/arc.opt: Same.
	* config/arm/arm.opt: Same.
	* config/avr/avr.opt: Same.
	* config/bfin/bfin.opt: Same.
	* config/c6x/c6x.opt: Same.
	* config/cr16/cr16.opt: Same.
	* config/cris/cris.opt: Same.
	* config/cris/linux.opt: Same.
	* config/darwin.opt: Same.
	* config/epiphany/epiphany.opt: Same.
	* config/fr30/fr30.opt: Same.
	* config/frv/frv.opt: Same.
	* config/ft32/ft32.opt: Same.
	* config/g.opt: Same.
	* config/h8300/h8300.opt: Same.
	* config/i386/cygming.opt: Same.
	* config/i386/djgpp.opt: Same.
	* config/i386/i386.opt: Same.
	* config/i386/interix.opt: Same.
	* config/i386/mingw-w64.opt: Same.
	* config/i386/mingw.opt: Same.
	* config/ia64/ia64.opt: Same.
	* config/ia64/ilp32.opt: Same.
	* config/iq2000/iq2000.opt: Same.
	* config/linux.opt: Same.
	* config/lm32/lm32.opt: Same.
	* config/lynx.opt: Same.
	* config/m32c/m32c.opt: Same.
	* config/m32r/m32r.opt: Same.
	* config/m68k/ieee.opt: Same.
	* config/m68k/m68k.opt: Same.
	* config/mcore/mcore.opt: Same.
	* config/mep/mep.opt: Same.
	* config/microblaze/microblaze.opt: Same.
	* config/mips/mips.opt: Same.
	* config/mmix/mmix.opt: Same.
	* config/mn10300/mn10300.opt: Same.
	* config/moxie/moxie.opt: Same.
	* config/msp430/msp430.opt: Same.
	* config/nios2/elf.opt: Same.
	* config/nios2/nios2.opt: Same.
	* config/nvptx/nvptx.opt: Same.
	* config/pa/pa-hpux.opt: Same.
	* config/pa/pa-hpux1010.opt: Same.
	* config/pa/pa-hpux1111.opt: Same.
	* config/pa/pa-hpux1131.opt: Same.
	* config/pa/pa.opt: Same.
	* config/pa/pa64-hpux.opt: Same.
	* config/pdp11/pdp11.opt: Same.
	* config/rl78/rl78.opt: Same.
	* config/rs6000/476.opt: Same.
	* config/rs6000/aix64.opt: Same.
	* config/rs6000/darwin.opt: Same.
	* config/rs6000/linux64.opt: Same.
	* config/rs6000/rs6000.opt: Same.
	* config/rs6000/sysv4.opt: Same.
	* config/s390/s390.opt: Same.
	* config/s390/tpf.opt: Same.
	* config/sh/sh.opt: Same.
	* config/sol2.opt: Same.
	* config/sparc/long-double-switch.opt: Same.
	* config/sparc/sparc.opt: Same.
	* config/spu/spu.opt: Same.
	* config/stormy16/stormy16.opt: Same.
	* config/tilegx/tilegx.opt: Same.
	* config/tilepro/tilepro.opt: Same.
	* config/v850/v850.opt: Same.
	* config/vax/vax.opt: Same.
	* config/visium/visium.opt: Same.
	* config/vms/vms.opt: Same.
	* config/vxworks.opt: Same.
	* config/xtensa/xtensa.opt: Same.
	* fortran/lang.opt: Same.

testsuite/
	PR driver/68043
	* gcc.misc-tests/help.exp: Adjust.
	* lib/options.exp (check_for_options): Add detail to output.

From-SVN: r229155
parent 22d66382
2015-10-21 Martin Sebor <msebor@redhat.com>
PR driver/68043
* opts.c (undocumented_msg, use_diagnosed_msg): New globals.
(print_filtered_help): Reference aliased option's name and encourage
readers to use it in preference to the alias if the former is not
documented. Mention when using an option is diagnosed.
* gcc.c (display_help): End each sentence with a period.
* ada/gcc-interface/lang.opt: End each sentence that describes
an option with a period.
* c-family/c.opt: Same.
* common.opt: Same.
* config/aarch64/aarch64.opt: Same.
* config/alpha/alpha.opt: Same.
* config/arc/arc.opt: Same.
* config/arm/arm.opt: Same.
* config/avr/avr.opt: Same.
* config/bfin/bfin.opt: Same.
* config/c6x/c6x.opt: Same.
* config/cr16/cr16.opt: Same.
* config/cris/cris.opt: Same.
* config/cris/linux.opt: Same.
* config/darwin.opt: Same.
* config/epiphany/epiphany.opt: Same.
* config/fr30/fr30.opt: Same.
* config/frv/frv.opt: Same.
* config/ft32/ft32.opt: Same.
* config/g.opt: Same.
* config/h8300/h8300.opt: Same.
* config/i386/cygming.opt: Same.
* config/i386/djgpp.opt: Same.
* config/i386/i386.opt: Same.
* config/i386/interix.opt: Same.
* config/i386/mingw-w64.opt: Same.
* config/i386/mingw.opt: Same.
* config/ia64/ia64.opt: Same.
* config/ia64/ilp32.opt: Same.
* config/iq2000/iq2000.opt: Same.
* config/linux.opt: Same.
* config/lm32/lm32.opt: Same.
* config/lynx.opt: Same.
* config/m32c/m32c.opt: Same.
* config/m32r/m32r.opt: Same.
* config/m68k/ieee.opt: Same.
* config/m68k/m68k.opt: Same.
* config/mcore/mcore.opt: Same.
* config/mep/mep.opt: Same.
* config/microblaze/microblaze.opt: Same.
* config/mips/mips.opt: Same.
* config/mmix/mmix.opt: Same.
* config/mn10300/mn10300.opt: Same.
* config/moxie/moxie.opt: Same.
* config/msp430/msp430.opt: Same.
* config/nios2/elf.opt: Same.
* config/nios2/nios2.opt: Same.
* config/nvptx/nvptx.opt: Same.
* config/pa/pa-hpux.opt: Same.
* config/pa/pa-hpux1010.opt: Same.
* config/pa/pa-hpux1111.opt: Same.
* config/pa/pa-hpux1131.opt: Same.
* config/pa/pa.opt: Same.
* config/pa/pa64-hpux.opt: Same.
* config/pdp11/pdp11.opt: Same.
* config/rl78/rl78.opt: Same.
* config/rs6000/476.opt: Same.
* config/rs6000/aix64.opt: Same.
* config/rs6000/darwin.opt: Same.
* config/rs6000/linux64.opt: Same.
* config/rs6000/rs6000.opt: Same.
* config/rs6000/sysv4.opt: Same.
* config/s390/s390.opt: Same.
* config/s390/tpf.opt: Same.
* config/sh/sh.opt: Same.
* config/sol2.opt: Same.
* config/sparc/long-double-switch.opt: Same.
* config/sparc/sparc.opt: Same.
* config/spu/spu.opt: Same.
* config/stormy16/stormy16.opt: Same.
* config/tilegx/tilegx.opt: Same.
* config/tilepro/tilepro.opt: Same.
* config/v850/v850.opt: Same.
* config/vax/vax.opt: Same.
* config/visium/visium.opt: Same.
* config/vms/vms.opt: Same.
* config/vxworks.opt: Same.
* config/xtensa/xtensa.opt: Same.
* fortran/lang.opt: Same.
2015-10-21 Aditya Kumar <aditya.k7@samsung.com> 2015-10-21 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com> Sebastian Pop <s.pop@samsung.com>
...@@ -54,11 +54,11 @@ Ada AdaWhy AdaSCIL Joined Separate ...@@ -54,11 +54,11 @@ Ada AdaWhy AdaSCIL Joined Separate
Wall Wall
Ada AdaWhy AdaSCIL Ada AdaWhy AdaSCIL
Enable most warning messages Enable most warning messages.
k8 k8
Driver Driver
Synonym of -gnatk8 Synonym of -gnatk8.
nostdinc nostdinc
Ada AdaWhy AdaSCIL RejectNegative Ada AdaWhy AdaSCIL RejectNegative
...@@ -66,30 +66,30 @@ Ada AdaWhy AdaSCIL RejectNegative ...@@ -66,30 +66,30 @@ Ada AdaWhy AdaSCIL RejectNegative
nostdlib nostdlib
Ada AdaWhy AdaSCIL Ada AdaWhy AdaSCIL
Do not look for object files in standard path Do not look for object files in standard path.
fRTS= fRTS=
Ada AdaWhy AdaSCIL Joined RejectNegative Ada AdaWhy AdaSCIL Joined RejectNegative
Select the runtime Select the runtime.
fshort-enums fshort-enums
Ada AdaWhy AdaSCIL Ada AdaWhy AdaSCIL
Use the narrowest integer type possible for enumeration types Use the narrowest integer type possible for enumeration types.
gant gant
Ada AdaWhy AdaSCIL Joined Undocumented Ada AdaWhy AdaSCIL Joined Undocumented
Catch typos Catch typos.
gnatO gnatO
Ada AdaWhy AdaSCIL Separate Ada AdaWhy AdaSCIL Separate
Set name of output ALI file (internal switch) Set name of output ALI file (internal switch).
gnat gnat
Ada AdaWhy AdaSCIL Joined Ada AdaWhy AdaSCIL Joined
-gnat<options> Specify options to GNAT -gnat<options> Specify options to GNAT.
fbuiltin-printf fbuiltin-printf
Ada Undocumented Ada Undocumented
Ignored Ignored.
; This comment is to ensure we retain the blank line above. ; This comment is to ensure we retain the blank line above.
...@@ -62,39 +62,39 @@ Enum(cmodel) String(large) Value(AARCH64_CMODEL_LARGE) ...@@ -62,39 +62,39 @@ Enum(cmodel) String(large) Value(AARCH64_CMODEL_LARGE)
mbig-endian mbig-endian
Target Report RejectNegative Mask(BIG_END) Target Report RejectNegative Mask(BIG_END)
Assume target CPU is configured as big endian Assume target CPU is configured as big endian.
mgeneral-regs-only mgeneral-regs-only
Target Report RejectNegative Mask(GENERAL_REGS_ONLY) Save Target Report RejectNegative Mask(GENERAL_REGS_ONLY) Save
Generate code which uses only the general registers Generate code which uses only the general registers.
mfix-cortex-a53-835769 mfix-cortex-a53-835769
Target Report Var(aarch64_fix_a53_err835769) Init(2) Save Target Report Var(aarch64_fix_a53_err835769) Init(2) Save
Workaround for ARM Cortex-A53 Erratum number 835769 Workaround for ARM Cortex-A53 Erratum number 835769.
mfix-cortex-a53-843419 mfix-cortex-a53-843419
Target Report Target Report
Workaround for ARM Cortex-A53 Erratum number 843419 Workaround for ARM Cortex-A53 Erratum number 843419.
mlittle-endian mlittle-endian
Target Report RejectNegative InverseMask(BIG_END) Target Report RejectNegative InverseMask(BIG_END)
Assume target CPU is configured as little endian Assume target CPU is configured as little endian.
mcmodel= mcmodel=
Target RejectNegative Joined Enum(cmodel) Var(aarch64_cmodel_var) Init(AARCH64_CMODEL_SMALL) Save Target RejectNegative Joined Enum(cmodel) Var(aarch64_cmodel_var) Init(AARCH64_CMODEL_SMALL) Save
Specify the code model Specify the code model.
mstrict-align mstrict-align
Target Report RejectNegative Mask(STRICT_ALIGN) Save Target Report RejectNegative Mask(STRICT_ALIGN) Save
Don't assume that unaligned accesses are handled by the system Don't assume that unaligned accesses are handled by the system.
momit-leaf-frame-pointer momit-leaf-frame-pointer
Target Report Var(flag_omit_leaf_frame_pointer) Init(2) Save Target Report Var(flag_omit_leaf_frame_pointer) Init(2) Save
Omit the frame pointer in leaf functions Omit the frame pointer in leaf functions.
mtls-dialect= mtls-dialect=
Target RejectNegative Joined Enum(tls_type) Var(aarch64_tls_dialect) Init(TLS_DESCRIPTORS) Save Target RejectNegative Joined Enum(tls_type) Var(aarch64_tls_dialect) Init(TLS_DESCRIPTORS) Save
Specify TLS dialect Specify TLS dialect.
mtls-size= mtls-size=
Target RejectNegative Joined Var(aarch64_tls_size) Enum(aarch64_tls_size) Target RejectNegative Joined Var(aarch64_tls_size) Enum(aarch64_tls_size)
...@@ -117,23 +117,23 @@ Enum(aarch64_tls_size) String(48) Value(48) ...@@ -117,23 +117,23 @@ Enum(aarch64_tls_size) String(48) Value(48)
march= march=
Target RejectNegative ToLower Joined Var(aarch64_arch_string) Target RejectNegative ToLower Joined Var(aarch64_arch_string)
-march=ARCH Use features of architecture ARCH -march=ARCH Use features of architecture ARCH.
mcpu= mcpu=
Target RejectNegative ToLower Joined Var(aarch64_cpu_string) Target RejectNegative ToLower Joined Var(aarch64_cpu_string)
-mcpu=CPU Use features of and optimize for CPU -mcpu=CPU Use features of and optimize for CPU.
mtune= mtune=
Target RejectNegative ToLower Joined Var(aarch64_tune_string) Target RejectNegative ToLower Joined Var(aarch64_tune_string)
-mtune=CPU Optimize for CPU -mtune=CPU Optimize for CPU.
mabi= mabi=
Target RejectNegative Joined Enum(aarch64_abi) Var(aarch64_abi) Init(AARCH64_ABI_DEFAULT) Target RejectNegative Joined Enum(aarch64_abi) Var(aarch64_abi) Init(AARCH64_ABI_DEFAULT)
-mabi=ABI Generate code that conforms to the specified ABI -mabi=ABI Generate code that conforms to the specified ABI.
moverride= moverride=
Target RejectNegative ToLower Joined Var(aarch64_override_tune_string) Target RejectNegative ToLower Joined Var(aarch64_override_tune_string)
-moverride=STRING Power users only! Override CPU optimization parameters -moverride=STRING Power users only! Override CPU optimization parameters.
Enum Enum
Name(aarch64_abi) Type(int) Name(aarch64_abi) Type(int)
......
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
msoft-float msoft-float
Target Report Mask(SOFT_FP) Target Report Mask(SOFT_FP)
Do not use hardware fp Do not use hardware fp.
mfp-regs mfp-regs
Target Report Mask(FPREGS) Target Report Mask(FPREGS)
Use fp registers Use fp registers.
mgas mgas
Target Ignore Target Ignore
...@@ -32,99 +32,99 @@ Does nothing. Preserved for backward compatibility. ...@@ -32,99 +32,99 @@ Does nothing. Preserved for backward compatibility.
mieee-conformant mieee-conformant
Target RejectNegative Mask(IEEE_CONFORMANT) Target RejectNegative Mask(IEEE_CONFORMANT)
Request IEEE-conformant math library routines (OSF/1) Request IEEE-conformant math library routines (OSF/1).
mieee mieee
Target Report RejectNegative Mask(IEEE) Target Report RejectNegative Mask(IEEE)
Emit IEEE-conformant code, without inexact exceptions Emit IEEE-conformant code, without inexact exceptions.
mieee-with-inexact mieee-with-inexact
Target Report RejectNegative Mask(IEEE_WITH_INEXACT) Target Report RejectNegative Mask(IEEE_WITH_INEXACT)
mbuild-constants mbuild-constants
Target Report Mask(BUILD_CONSTANTS) Target Report Mask(BUILD_CONSTANTS)
Do not emit complex integer constants to read-only memory Do not emit complex integer constants to read-only memory.
mfloat-vax mfloat-vax
Target Report RejectNegative Mask(FLOAT_VAX) Target Report RejectNegative Mask(FLOAT_VAX)
Use VAX fp Use VAX fp.
mfloat-ieee mfloat-ieee
Target Report RejectNegative InverseMask(FLOAT_VAX) Target Report RejectNegative InverseMask(FLOAT_VAX)
Do not use VAX fp Do not use VAX fp.
mbwx mbwx
Target Report Mask(BWX) Target Report Mask(BWX)
Emit code for the byte/word ISA extension Emit code for the byte/word ISA extension.
mmax mmax
Target Report Mask(MAX) Target Report Mask(MAX)
Emit code for the motion video ISA extension Emit code for the motion video ISA extension.
mfix mfix
Target Report Mask(FIX) Target Report Mask(FIX)
Emit code for the fp move and sqrt ISA extension Emit code for the fp move and sqrt ISA extension.
mcix mcix
Target Report Mask(CIX) Target Report Mask(CIX)
Emit code for the counting ISA extension Emit code for the counting ISA extension.
mexplicit-relocs mexplicit-relocs
Target Report Mask(EXPLICIT_RELOCS) Target Report Mask(EXPLICIT_RELOCS)
Emit code using explicit relocation directives Emit code using explicit relocation directives.
msmall-data msmall-data
Target Report RejectNegative Mask(SMALL_DATA) Target Report RejectNegative Mask(SMALL_DATA)
Emit 16-bit relocations to the small data areas Emit 16-bit relocations to the small data areas.
mlarge-data mlarge-data
Target Report RejectNegative InverseMask(SMALL_DATA) Target Report RejectNegative InverseMask(SMALL_DATA)
Emit 32-bit relocations to the small data areas Emit 32-bit relocations to the small data areas.
msmall-text msmall-text
Target Report RejectNegative Mask(SMALL_TEXT) Target Report RejectNegative Mask(SMALL_TEXT)
Emit direct branches to local functions Emit direct branches to local functions.
mlarge-text mlarge-text
Target Report RejectNegative InverseMask(SMALL_TEXT) Target Report RejectNegative InverseMask(SMALL_TEXT)
Emit indirect branches to local functions Emit indirect branches to local functions.
mtls-kernel mtls-kernel
Target Report Mask(TLS_KERNEL) Target Report Mask(TLS_KERNEL)
Emit rdval instead of rduniq for thread pointer Emit rdval instead of rduniq for thread pointer.
mlong-double-128 mlong-double-128
Target Report RejectNegative Mask(LONG_DOUBLE_128) Target Report RejectNegative Mask(LONG_DOUBLE_128)
Use 128-bit long double Use 128-bit long double.
mlong-double-64 mlong-double-64
Target Report RejectNegative InverseMask(LONG_DOUBLE_128) Target Report RejectNegative InverseMask(LONG_DOUBLE_128)
Use 64-bit long double Use 64-bit long double.
mcpu= mcpu=
Target RejectNegative Joined Var(alpha_cpu_string) Target RejectNegative Joined Var(alpha_cpu_string)
Use features of and schedule given CPU Use features of and schedule given CPU.
mtune= mtune=
Target RejectNegative Joined Var(alpha_tune_string) Target RejectNegative Joined Var(alpha_tune_string)
Schedule given CPU Schedule given CPU.
mfp-rounding-mode= mfp-rounding-mode=
Target RejectNegative Joined Var(alpha_fprm_string) Target RejectNegative Joined Var(alpha_fprm_string)
Control the generated fp rounding mode Control the generated fp rounding mode.
mfp-trap-mode= mfp-trap-mode=
Target RejectNegative Joined Var(alpha_fptm_string) Target RejectNegative Joined Var(alpha_fptm_string)
Control the IEEE trap mode Control the IEEE trap mode.
mtrap-precision= mtrap-precision=
Target RejectNegative Joined Var(alpha_tp_string) Target RejectNegative Joined Var(alpha_tp_string)
Control the precision given to fp exceptions Control the precision given to fp exceptions.
mmemory-latency= mmemory-latency=
Target RejectNegative Joined Var(alpha_mlat_string) Target RejectNegative Joined Var(alpha_mlat_string)
Tune expected memory latency Tune expected memory latency.
mtls-size= mtls-size=
Target RejectNegative Joined UInteger Var(alpha_tls_size) Init(32) Target RejectNegative Joined UInteger Var(alpha_tls_size) Init(32)
Specify bit size of immediate TLS offsets Specify bit size of immediate TLS offsets.
...@@ -23,39 +23,39 @@ config/arc/arc-opts.h ...@@ -23,39 +23,39 @@ config/arc/arc-opts.h
mbig-endian mbig-endian
Target Report RejectNegative Mask(BIG_ENDIAN) Target Report RejectNegative Mask(BIG_ENDIAN)
Compile code for big endian mode Compile code for big endian mode.
mlittle-endian mlittle-endian
Target Report RejectNegative InverseMask(BIG_ENDIAN) Target Report RejectNegative InverseMask(BIG_ENDIAN)
Compile code for little endian mode. This is the default Compile code for little endian mode. This is the default.
mno-cond-exec mno-cond-exec
Target Report RejectNegative Mask(NO_COND_EXEC) Target Report RejectNegative Mask(NO_COND_EXEC)
Disable ARCompact specific pass to generate conditional execution instructions Disable ARCompact specific pass to generate conditional execution instructions.
mA6 mA6
Target Report Target Report
Generate ARCompact 32-bit code for ARC600 processor Generate ARCompact 32-bit code for ARC600 processor.
mARC600 mARC600
Target Report Target Report
Same as -mA6 Same as -mA6.
mARC601 mARC601
Target Report Target Report
Generate ARCompact 32-bit code for ARC601 processor Generate ARCompact 32-bit code for ARC601 processor.
mA7 mA7
Target Report Target Report
Generate ARCompact 32-bit code for ARC700 processor Generate ARCompact 32-bit code for ARC700 processor.
mARC700 mARC700
Target Report Target Report
Same as -mA7 Same as -mA7.
mmixed-code mmixed-code
Target Report Mask(MIXED_CODE_SET) Target Report Mask(MIXED_CODE_SET)
Tweak register allocation to help 16-bit instruction generation Tweak register allocation to help 16-bit instruction generation.
; originally this was: ; originally this was:
;Generate ARCompact 16-bit instructions intermixed with 32-bit instructions ;Generate ARCompact 16-bit instructions intermixed with 32-bit instructions
; but we do that without -mmixed-code, too, it's just a different instruction ; but we do that without -mmixed-code, too, it's just a different instruction
...@@ -65,43 +65,43 @@ Tweak register allocation to help 16-bit instruction generation ...@@ -65,43 +65,43 @@ Tweak register allocation to help 16-bit instruction generation
; actually interesting option, and we want that to have its own comment. ; actually interesting option, and we want that to have its own comment.
mvolatile-cache mvolatile-cache
Target Report RejectNegative Mask(VOLATILE_CACHE_SET) Target Report RejectNegative Mask(VOLATILE_CACHE_SET)
Use ordinarily cached memory accesses for volatile references Use ordinarily cached memory accesses for volatile references.
mno-volatile-cache mno-volatile-cache
Target Report RejectNegative InverseMask(VOLATILE_CACHE_SET) Target Report RejectNegative InverseMask(VOLATILE_CACHE_SET)
Enable cache bypass for volatile references Enable cache bypass for volatile references.
mbarrel-shifter mbarrel-shifter
Target Report Mask(BARREL_SHIFTER) Target Report Mask(BARREL_SHIFTER)
Generate instructions supported by barrel shifter Generate instructions supported by barrel shifter.
mnorm mnorm
Target Report Mask(NORM_SET) Target Report Mask(NORM_SET)
Generate norm instruction Generate norm instruction.
mswap mswap
Target Report Mask(SWAP_SET) Target Report Mask(SWAP_SET)
Generate swap instruction Generate swap instruction.
mmul64 mmul64
Target Report Mask(MUL64_SET) Target Report Mask(MUL64_SET)
Generate mul64 and mulu64 instructions Generate mul64 and mulu64 instructions.
mno-mpy mno-mpy
Target Report Mask(NOMPY_SET) Target Report Mask(NOMPY_SET)
Do not generate mpy instructions for ARC700 Do not generate mpy instructions for ARC700.
mea mea
Target Report Mask(EA_SET) Target Report Mask(EA_SET)
Generate Extended arithmetic instructions. Currently only divaw, adds, subs and sat16 are supported Generate Extended arithmetic instructions. Currently only divaw, adds, subs and sat16 are supported.
msoft-float msoft-float
Target Report Mask(0) Target Report Mask(0)
Dummy flag. This is the default unless FPX switches are provided explicitly Dummy flag. This is the default unless FPX switches are provided explicitly.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS_SET) Target Report Mask(LONG_CALLS_SET)
Generate call insns as register indirect calls Generate call insns as register indirect calls.
mno-brcc mno-brcc
Target Report Mask(NO_BRCC_SET) Target Report Mask(NO_BRCC_SET)
...@@ -113,7 +113,7 @@ Generate sdata references. This is the default, unless you compile for PIC. ...@@ -113,7 +113,7 @@ Generate sdata references. This is the default, unless you compile for PIC.
mno-millicode mno-millicode
Target Report Mask(NO_MILLICODE_THUNK_SET) Target Report Mask(NO_MILLICODE_THUNK_SET)
Do not generate millicode thunks (needed only with -Os) Do not generate millicode thunks (needed only with -Os).
mspfp mspfp
Target Report Mask(SPFP_COMPACT_SET) Target Report Mask(SPFP_COMPACT_SET)
...@@ -153,7 +153,7 @@ Enable generation of ARC SIMD instructions via target-specific builtins. ...@@ -153,7 +153,7 @@ Enable generation of ARC SIMD instructions via target-specific builtins.
mcpu= mcpu=
Target RejectNegative Joined Var(arc_cpu) Enum(processor_type) Init(PROCESSOR_NONE) Target RejectNegative Joined Var(arc_cpu) Enum(processor_type) Init(PROCESSOR_NONE)
-mcpu=CPU Compile code for ARC variant CPU -mcpu=CPU Compile code for ARC variant CPU.
Enum Enum
Name(processor_type) Type(enum processor_type) Name(processor_type) Type(enum processor_type)
...@@ -169,11 +169,11 @@ Enum(processor_type) String(ARC700) Value(PROCESSOR_ARC700) ...@@ -169,11 +169,11 @@ Enum(processor_type) String(ARC700) Value(PROCESSOR_ARC700)
msize-level= msize-level=
Target RejectNegative Joined UInteger Var(arc_size_opt_level) Init(-1) Target RejectNegative Joined UInteger Var(arc_size_opt_level) Init(-1)
size optimization level: 0:none 1:opportunistic 2: regalloc 3:drop align, -Os size optimization level: 0:none 1:opportunistic 2: regalloc 3:drop align, -Os.
misize misize
Target Report PchIgnore Var(TARGET_DUMPISIZE) Target Report PchIgnore Var(TARGET_DUMPISIZE)
Annotate assembler instructions with estimated addresses Annotate assembler instructions with estimated addresses.
mmultcost= mmultcost=
Target RejectNegative Joined UInteger Var(arc_multcost) Init(-1) Target RejectNegative Joined UInteger Var(arc_multcost) Init(-1)
...@@ -205,7 +205,7 @@ Tune for ARC700 R4.2 Cpu with XMAC block. ...@@ -205,7 +205,7 @@ Tune for ARC700 R4.2 Cpu with XMAC block.
mindexed-loads mindexed-loads
Target Var(TARGET_INDEXED_LOADS) Target Var(TARGET_INDEXED_LOADS)
Enable the use of indexed loads Enable the use of indexed loads.
mauto-modify-reg mauto-modify-reg
Target Var(TARGET_AUTO_MODIFY_REG) Target Var(TARGET_AUTO_MODIFY_REG)
...@@ -213,13 +213,13 @@ Enable the use of pre/post modify with register displacement. ...@@ -213,13 +213,13 @@ Enable the use of pre/post modify with register displacement.
mmul32x16 mmul32x16
Target Report Mask(MULMAC_32BY16_SET) Target Report Mask(MULMAC_32BY16_SET)
Generate 32x16 multiply and mac instructions Generate 32x16 multiply and mac instructions.
; the initializer is supposed to be: Init(REG_BR_PROB_BASE/2) , ; the initializer is supposed to be: Init(REG_BR_PROB_BASE/2) ,
; alas, basic-block.h is not included in options.c . ; alas, basic-block.h is not included in options.c .
munalign-prob-threshold= munalign-prob-threshold=
Target RejectNegative Joined UInteger Var(arc_unalign_prob_threshold) Init(10000/2) Target RejectNegative Joined UInteger Var(arc_unalign_prob_threshold) Init(10000/2)
Set probability threshold for unaligning branches Set probability threshold for unaligning branches.
mmedium-calls mmedium-calls
Target Var(TARGET_MEDIUM_CALLS) Init(TARGET_MMEDIUM_CALLS_DEFAULT) Target Var(TARGET_MEDIUM_CALLS) Init(TARGET_MMEDIUM_CALLS_DEFAULT)
...@@ -243,11 +243,11 @@ Enable Rcw constraint handling - ccfsm condexec mostly depends on this. ...@@ -243,11 +243,11 @@ Enable Rcw constraint handling - ccfsm condexec mostly depends on this.
mearly-cbranchsi mearly-cbranchsi
Target Var(TARGET_EARLY_CBRANCHSI) Target Var(TARGET_EARLY_CBRANCHSI)
Enable pre-reload use of cbranchsi pattern Enable pre-reload use of cbranchsi pattern.
mbbit-peephole mbbit-peephole
Target Var(TARGET_BBIT_PEEPHOLE) Target Var(TARGET_BBIT_PEEPHOLE)
Enable bbit peephole2 Enable bbit peephole2.
mcase-vector-pcrel mcase-vector-pcrel
Target Var(TARGET_CASE_VECTOR_PC_RELATIVE) Target Var(TARGET_CASE_VECTOR_PC_RELATIVE)
...@@ -255,7 +255,7 @@ Use pc-relative switch case tables - this enables case table shortening. ...@@ -255,7 +255,7 @@ Use pc-relative switch case tables - this enables case table shortening.
mcompact-casesi mcompact-casesi
Target Var(TARGET_COMPACT_CASESI) Target Var(TARGET_COMPACT_CASESI)
Enable compact casesi pattern Enable compact casesi pattern.
mq-class mq-class
Target Var(TARGET_Q_CLASS) Target Var(TARGET_Q_CLASS)
...@@ -270,15 +270,15 @@ Expand adddi3 and subdi3 at rtl generation time into add.f / adc etc. ...@@ -270,15 +270,15 @@ Expand adddi3 and subdi3 at rtl generation time into add.f / adc etc.
; macro symbols as well. ; macro symbols as well.
mcrc mcrc
Target Report Target Report
Enable variable polynomial CRC extension Enable variable polynomial CRC extension.
mdsp-packa mdsp-packa
Target Report Target Report
Enable DSP 3.1 Pack A extensions Enable DSP 3.1 Pack A extensions.
mdvbf mdvbf
Target Report Target Report
Enable dual viterbi butterfly extension Enable dual viterbi butterfly extension.
mmac-d16 mmac-d16
Target Report Undocumented Target Report Undocumented
...@@ -288,24 +288,24 @@ Target Report Undocumented ...@@ -288,24 +288,24 @@ Target Report Undocumented
mtelephony mtelephony
Target Report RejectNegative Target Report RejectNegative
Enable Dual and Single Operand Instructions for Telephony Enable Dual and Single Operand Instructions for Telephony.
mxy mxy
Target Report Target Report
Enable XY Memory extension (DSP version 3) Enable XY Memory extension (DSP version 3).
; ARC700 4.10 extension instructions ; ARC700 4.10 extension instructions
mlock mlock
Target Report Target Report
Enable Locked Load/Store Conditional extension Enable Locked Load/Store Conditional extension.
mswape mswape
Target Report Target Report
Enable swap byte ordering extension instruction Enable swap byte ordering extension instruction.
mrtsc mrtsc
Target Report Target Report
Enable 64-bit Time-Stamp Counter extension instruction Enable 64-bit Time-Stamp Counter extension instruction.
mno-epilogue-cfi mno-epilogue-cfi
Target Report RejectNegative InverseMask(EPILOGUE_CFI) Target Report RejectNegative InverseMask(EPILOGUE_CFI)
...@@ -337,23 +337,23 @@ Pass -marclinux_prof option through to linker. ...@@ -337,23 +337,23 @@ Pass -marclinux_prof option through to linker.
; so don't enable by default. ; so don't enable by default.
mlra mlra
Target Mask(LRA) Target Mask(LRA)
Enable lra Enable lra.
mlra-priority-none mlra-priority-none
Target RejectNegative Var(arc_lra_priority_tag, ARC_LRA_PRIORITY_NONE) Target RejectNegative Var(arc_lra_priority_tag, ARC_LRA_PRIORITY_NONE)
Don't indicate any priority with TARGET_REGISTER_PRIORITY Don't indicate any priority with TARGET_REGISTER_PRIORITY.
mlra-priority-compact mlra-priority-compact
Target RejectNegative Var(arc_lra_prioritytag, ARC_LRA_PRIORITY_COMPACT) Target RejectNegative Var(arc_lra_prioritytag, ARC_LRA_PRIORITY_COMPACT)
Indicate priority for r0..r3 / r12..r15 with TARGET_REGISTER_PRIORITY Indicate priority for r0..r3 / r12..r15 with TARGET_REGISTER_PRIORITY.
mlra-priority-noncompact mlra-priority-noncompact
Target RejectNegative Var(arc_lra_prioritytag, ARC_LRA_PRIORITY_NONCOMPACT) Target RejectNegative Var(arc_lra_prioritytag, ARC_LRA_PRIORITY_NONCOMPACT)
Reduce priority for r0..r3 / r12..r15 with TARGET_REGISTER_PRIORITY Reduce priority for r0..r3 / r12..r15 with TARGET_REGISTER_PRIORITY.
mucb-mcount mucb-mcount
Target Report Var(TARGET_UCB_MCOUNT) Target Report Var(TARGET_UCB_MCOUNT)
instrument with mcount calls as in the ucb code instrument with mcount calls as in the ucb code.
; backward-compatibility aliases, translated by DRIVER_SELF_SPECS ; backward-compatibility aliases, translated by DRIVER_SELF_SPECS
......
...@@ -33,7 +33,7 @@ Enum(tls_type) String(gnu2) Value(TLS_GNU2) ...@@ -33,7 +33,7 @@ Enum(tls_type) String(gnu2) Value(TLS_GNU2)
mabi= mabi=
Target RejectNegative Joined Enum(arm_abi_type) Var(arm_abi) Init(ARM_DEFAULT_ABI) Target RejectNegative Joined Enum(arm_abi_type) Var(arm_abi) Init(ARM_DEFAULT_ABI)
Specify an ABI Specify an ABI.
Enum Enum
Name(arm_abi_type) Type(enum arm_abi_type) Name(arm_abi_type) Type(enum arm_abi_type)
...@@ -56,29 +56,29 @@ Enum(arm_abi_type) String(aapcs-linux) Value(ARM_ABI_AAPCS_LINUX) ...@@ -56,29 +56,29 @@ Enum(arm_abi_type) String(aapcs-linux) Value(ARM_ABI_AAPCS_LINUX)
mabort-on-noreturn mabort-on-noreturn
Target Report Mask(ABORT_NORETURN) Target Report Mask(ABORT_NORETURN)
Generate a call to abort if a noreturn function returns Generate a call to abort if a noreturn function returns.
mapcs mapcs
Target RejectNegative Mask(APCS_FRAME) Undocumented Target RejectNegative Mask(APCS_FRAME) Undocumented
mapcs-float mapcs-float
Target Report Mask(APCS_FLOAT) Target Report Mask(APCS_FLOAT)
Pass FP arguments in FP registers Pass FP arguments in FP registers.
mapcs-frame mapcs-frame
Target Report Mask(APCS_FRAME) Target Report Mask(APCS_FRAME)
Generate APCS conformant stack frames Generate APCS conformant stack frames.
mapcs-reentrant mapcs-reentrant
Target Report Mask(APCS_REENT) Target Report Mask(APCS_REENT)
Generate re-entrant, PIC code Generate re-entrant, PIC code.
mapcs-stack-check mapcs-stack-check
Target Report Mask(APCS_STACK) Undocumented Target Report Mask(APCS_STACK) Undocumented
march= march=
Target RejectNegative ToLower Joined Enum(arm_arch) Var(arm_arch_option) Target RejectNegative ToLower Joined Enum(arm_arch) Var(arm_arch_option)
Specify the name of the target architecture Specify the name of the target architecture.
; Other arm_arch values are loaded from arm-tables.opt ; Other arm_arch values are loaded from arm-tables.opt
; but that is a generated file and this is an odd-one-out. ; but that is a generated file and this is an odd-one-out.
...@@ -91,23 +91,23 @@ Generate code in 32 bit ARM state. ...@@ -91,23 +91,23 @@ Generate code in 32 bit ARM state.
mbig-endian mbig-endian
Target Report RejectNegative Mask(BIG_END) Target Report RejectNegative Mask(BIG_END)
Assume target CPU is configured as big endian Assume target CPU is configured as big endian.
mcallee-super-interworking mcallee-super-interworking
Target Report Mask(CALLEE_INTERWORKING) Target Report Mask(CALLEE_INTERWORKING)
Thumb: Assume non-static functions may be called from ARM code Thumb: Assume non-static functions may be called from ARM code.
mcaller-super-interworking mcaller-super-interworking
Target Report Mask(CALLER_INTERWORKING) Target Report Mask(CALLER_INTERWORKING)
Thumb: Assume function pointers may go to non-Thumb aware code Thumb: Assume function pointers may go to non-Thumb aware code.
mcpu= mcpu=
Target RejectNegative ToLower Joined Enum(processor_type) Var(arm_cpu_option) Init(arm_none) Target RejectNegative ToLower Joined Enum(processor_type) Var(arm_cpu_option) Init(arm_none)
Specify the name of the target CPU Specify the name of the target CPU.
mfloat-abi= mfloat-abi=
Target RejectNegative Joined Enum(float_abi_type) Var(arm_float_abi) Init(TARGET_DEFAULT_FLOAT_ABI) Target RejectNegative Joined Enum(float_abi_type) Var(arm_float_abi) Init(TARGET_DEFAULT_FLOAT_ABI)
Specify if floating point hardware should be used Specify if floating point hardware should be used.
Enum Enum
Name(float_abi_type) Type(enum float_abi_type) Name(float_abi_type) Type(enum float_abi_type)
...@@ -124,11 +124,11 @@ Enum(float_abi_type) String(hard) Value(ARM_FLOAT_ABI_HARD) ...@@ -124,11 +124,11 @@ Enum(float_abi_type) String(hard) Value(ARM_FLOAT_ABI_HARD)
mflip-thumb mflip-thumb
Target Report Var(TARGET_FLIP_THUMB) Undocumented Target Report Var(TARGET_FLIP_THUMB) Undocumented
Switch ARM/Thumb modes on alternating functions for compiler testing Switch ARM/Thumb modes on alternating functions for compiler testing.
mfp16-format= mfp16-format=
Target RejectNegative Joined Enum(arm_fp16_format_type) Var(arm_fp16_format) Init(ARM_FP16_FORMAT_NONE) Target RejectNegative Joined Enum(arm_fp16_format_type) Var(arm_fp16_format) Init(ARM_FP16_FORMAT_NONE)
Specify the __fp16 floating-point format Specify the __fp16 floating-point format.
Enum Enum
Name(arm_fp16_format_type) Type(enum arm_fp16_format_type) Name(arm_fp16_format_type) Type(enum arm_fp16_format_type)
...@@ -145,18 +145,18 @@ Enum(arm_fp16_format_type) String(alternative) Value(ARM_FP16_FORMAT_ALTERNATIVE ...@@ -145,18 +145,18 @@ Enum(arm_fp16_format_type) String(alternative) Value(ARM_FP16_FORMAT_ALTERNATIVE
mfpu= mfpu=
Target RejectNegative Joined Enum(arm_fpu) Var(arm_fpu_index) Target RejectNegative Joined Enum(arm_fpu) Var(arm_fpu_index)
Specify the name of the target floating point hardware/format Specify the name of the target floating point hardware/format.
mhard-float mhard-float
Target RejectNegative Alias(mfloat-abi=, hard) Undocumented Target RejectNegative Alias(mfloat-abi=, hard) Undocumented
mlittle-endian mlittle-endian
Target Report RejectNegative InverseMask(BIG_END) Target Report RejectNegative InverseMask(BIG_END)
Assume target CPU is configured as little endian Assume target CPU is configured as little endian.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Generate call insns as indirect calls, if necessary Generate call insns as indirect calls, if necessary.
mpic-data-is-text-relative mpic-data-is-text-relative
Target Report Var(arm_pic_data_is_text_relative) Init(TARGET_DEFAULT_PIC_DATA_IS_TEXT_RELATIVE) Target Report Var(arm_pic_data_is_text_relative) Init(TARGET_DEFAULT_PIC_DATA_IS_TEXT_RELATIVE)
...@@ -164,42 +164,42 @@ Assume data segments are relative to text segment. ...@@ -164,42 +164,42 @@ Assume data segments are relative to text segment.
mpic-register= mpic-register=
Target RejectNegative Joined Var(arm_pic_register_string) Target RejectNegative Joined Var(arm_pic_register_string)
Specify the register to be used for PIC addressing Specify the register to be used for PIC addressing.
mpoke-function-name mpoke-function-name
Target Report Mask(POKE_FUNCTION_NAME) Target Report Mask(POKE_FUNCTION_NAME)
Store function names in object code Store function names in object code.
msched-prolog msched-prolog
Target Report Mask(SCHED_PROLOG) Target Report Mask(SCHED_PROLOG)
Permit scheduling of a function's prologue sequence Permit scheduling of a function's prologue sequence.
msingle-pic-base msingle-pic-base
Target Report Mask(SINGLE_PIC_BASE) Target Report Mask(SINGLE_PIC_BASE)
Do not load the PIC register in function prologues Do not load the PIC register in function prologues.
msoft-float msoft-float
Target RejectNegative Alias(mfloat-abi=, soft) Undocumented Target RejectNegative Alias(mfloat-abi=, soft) Undocumented
mstructure-size-boundary= mstructure-size-boundary=
Target RejectNegative Joined UInteger Var(arm_structure_size_boundary) Init(DEFAULT_STRUCTURE_SIZE_BOUNDARY) Target RejectNegative Joined UInteger Var(arm_structure_size_boundary) Init(DEFAULT_STRUCTURE_SIZE_BOUNDARY)
Specify the minimum bit alignment of structures Specify the minimum bit alignment of structures.
mthumb mthumb
Target Report RejectNegative Mask(THUMB) Save Target Report RejectNegative Mask(THUMB) Save
Generate code for Thumb state Generate code for Thumb state.
mthumb-interwork mthumb-interwork
Target Report Mask(INTERWORK) Target Report Mask(INTERWORK)
Support calls between Thumb and ARM instruction sets Support calls between Thumb and ARM instruction sets.
mtls-dialect= mtls-dialect=
Target RejectNegative Joined Enum(tls_type) Var(target_tls_dialect) Init(TLS_GNU) Target RejectNegative Joined Enum(tls_type) Var(target_tls_dialect) Init(TLS_GNU)
Specify thread local storage scheme Specify thread local storage scheme.
mtp= mtp=
Target RejectNegative Joined Enum(arm_tp_type) Var(target_thread_pointer) Init(TP_AUTO) Target RejectNegative Joined Enum(arm_tp_type) Var(target_thread_pointer) Init(TP_AUTO)
Specify how to access the thread pointer Specify how to access the thread pointer.
Enum Enum
Name(arm_tp_type) Type(enum arm_tp_type) Name(arm_tp_type) Type(enum arm_tp_type)
...@@ -216,15 +216,15 @@ Enum(arm_tp_type) String(cp15) Value(TP_CP15) ...@@ -216,15 +216,15 @@ Enum(arm_tp_type) String(cp15) Value(TP_CP15)
mtpcs-frame mtpcs-frame
Target Report Mask(TPCS_FRAME) Target Report Mask(TPCS_FRAME)
Thumb: Generate (non-leaf) stack frames even if not needed Thumb: Generate (non-leaf) stack frames even if not needed.
mtpcs-leaf-frame mtpcs-leaf-frame
Target Report Mask(TPCS_LEAF_FRAME) Target Report Mask(TPCS_LEAF_FRAME)
Thumb: Generate (leaf) stack frames even if not needed Thumb: Generate (leaf) stack frames even if not needed.
mtune= mtune=
Target RejectNegative ToLower Joined Enum(processor_type) Var(arm_tune_option) Init(arm_none) Target RejectNegative ToLower Joined Enum(processor_type) Var(arm_tune_option) Init(arm_none)
Tune code for the given processor Tune code for the given processor.
mprint-tune-info mprint-tune-info
Target Report RejectNegative Var(print_tune_info) Init(0) Target Report RejectNegative Var(print_tune_info) Init(0)
...@@ -239,11 +239,11 @@ Enum(processor_type) String(native) Value(-1) DriverOnly ...@@ -239,11 +239,11 @@ Enum(processor_type) String(native) Value(-1) DriverOnly
mvectorize-with-neon-quad mvectorize-with-neon-quad
Target Report RejectNegative InverseMask(NEON_VECTORIZE_DOUBLE) Target Report RejectNegative InverseMask(NEON_VECTORIZE_DOUBLE)
Use Neon quad-word (rather than double-word) registers for vectorization Use Neon quad-word (rather than double-word) registers for vectorization.
mvectorize-with-neon-double mvectorize-with-neon-double
Target Report RejectNegative Mask(NEON_VECTORIZE_DOUBLE) Target Report RejectNegative Mask(NEON_VECTORIZE_DOUBLE)
Use Neon double-word (rather than quad-word) registers for vectorization Use Neon double-word (rather than quad-word) registers for vectorization.
mword-relocations mword-relocations
Target Report Var(target_word_relocations) Init(TARGET_DEFAULT_WORD_RELOCATIONS) Target Report Var(target_word_relocations) Init(TARGET_DEFAULT_WORD_RELOCATIONS)
......
...@@ -20,23 +20,23 @@ ...@@ -20,23 +20,23 @@
mcall-prologues mcall-prologues
Target Report Mask(CALL_PROLOGUES) Target Report Mask(CALL_PROLOGUES)
Use subroutines for function prologues and epilogues Use subroutines for function prologues and epilogues.
mmcu= mmcu=
Target RejectNegative Joined Var(avr_mmcu) MissingArgError(missing device or architecture after %qs) Target RejectNegative Joined Var(avr_mmcu) MissingArgError(missing device or architecture after %qs)
-mmcu=MCU Select the target MCU -mmcu=MCU Select the target MCU.
mn-flash= mn-flash=
Target RejectNegative Joined Var(avr_n_flash) UInteger Init(-1) Target RejectNegative Joined Var(avr_n_flash) UInteger Init(-1)
Set the number of 64 KiB flash segments Set the number of 64 KiB flash segments.
mskip-bug mskip-bug
Target Report Mask(SKIP_BUG) Target Report Mask(SKIP_BUG)
Indicate presence of a processor erratum Indicate presence of a processor erratum.
mrmw mrmw
Target Report Mask(RMW) Target Report Mask(RMW)
Enable Read-Modify-Write (RMW) instructions support/use Enable Read-Modify-Write (RMW) instructions support/use.
mdeb mdeb
Target Report Undocumented Mask(ALL_DEBUG) Target Report Undocumented Mask(ALL_DEBUG)
...@@ -46,11 +46,11 @@ Target RejectNegative Joined Undocumented Var(avr_log_details) ...@@ -46,11 +46,11 @@ Target RejectNegative Joined Undocumented Var(avr_log_details)
mint8 mint8
Target Report Mask(INT8) Target Report Mask(INT8)
Use an 8-bit 'int' type Use an 8-bit 'int' type.
mno-interrupts mno-interrupts
Target Report RejectNegative Mask(NO_INTERRUPTS) Target Report RejectNegative Mask(NO_INTERRUPTS)
Change the stack pointer without disabling interrupts Change the stack pointer without disabling interrupts.
mbranch-cost= mbranch-cost=
Target Report Joined RejectNegative UInteger Var(avr_branch_cost) Init(0) Target Report Joined RejectNegative UInteger Var(avr_branch_cost) Init(0)
...@@ -64,11 +64,11 @@ Target Report Undocumented Mask(ORDER_2) ...@@ -64,11 +64,11 @@ Target Report Undocumented Mask(ORDER_2)
mtiny-stack mtiny-stack
Target Report Mask(TINY_STACK) Target Report Mask(TINY_STACK)
Change only the low 8 bits of the stack pointer Change only the low 8 bits of the stack pointer.
mrelax mrelax
Target Report Target Report
Relax branches Relax branches.
mpmem-wrap-around mpmem-wrap-around
Target Report Target Report
...@@ -93,8 +93,8 @@ Warn if the address space of an address is changed. ...@@ -93,8 +93,8 @@ Warn if the address space of an address is changed.
mfract-convert-truncate mfract-convert-truncate
Target Report Mask(FRACT_CONV_TRUNC) Target Report Mask(FRACT_CONV_TRUNC)
Allow to use truncation instead of rounding towards 0 for fractional int types Allow to use truncation instead of rounding towards 0 for fractional int types.
nodevicelib nodevicelib
Driver Target Report RejectNegative Driver Target Report RejectNegative
Do not link against the device-specific library lib<MCU>.a Do not link against the device-specific library lib<MCU>.a.
...@@ -37,19 +37,19 @@ unsigned int bfin_workarounds = 0 ...@@ -37,19 +37,19 @@ unsigned int bfin_workarounds = 0
msim msim
Target RejectNegative Target RejectNegative
Use simulator runtime Use simulator runtime.
mcpu= mcpu=
Target RejectNegative Joined Target RejectNegative Joined
Specify the name of the target CPU Specify the name of the target CPU.
momit-leaf-frame-pointer momit-leaf-frame-pointer
Target Report Mask(OMIT_LEAF_FRAME_POINTER) Target Report Mask(OMIT_LEAF_FRAME_POINTER)
Omit frame pointer for leaf functions Omit frame pointer for leaf functions.
mlow64k mlow64k
Target Report Mask(LOW_64K) Target Report Mask(LOW_64K)
Program is entirely located in low 64k of memory Program is entirely located in low 64k of memory.
mcsync-anomaly mcsync-anomaly
Target Report Var(bfin_csync_anomaly) Init(-1) Target Report Var(bfin_csync_anomaly) Init(-1)
...@@ -62,7 +62,7 @@ Avoid speculative loads to work around a hardware anomaly. ...@@ -62,7 +62,7 @@ Avoid speculative loads to work around a hardware anomaly.
mid-shared-library mid-shared-library
Target Report Mask(ID_SHARED_LIBRARY) Target Report Mask(ID_SHARED_LIBRARY)
Enabled ID based shared library Enabled ID based shared library.
mleaf-id-shared-library mleaf-id-shared-library
Target Report Mask(LEAF_ID_SHARED_LIBRARY) Target Report Mask(LEAF_ID_SHARED_LIBRARY)
...@@ -71,47 +71,47 @@ but may be used as a shared library. ...@@ -71,47 +71,47 @@ but may be used as a shared library.
mshared-library-id= mshared-library-id=
Target RejectNegative Joined UInteger Var(bfin_library_id) Target RejectNegative Joined UInteger Var(bfin_library_id)
ID of shared library to build ID of shared library to build.
msep-data msep-data
Target Report Mask(SEP_DATA) Target Report Mask(SEP_DATA)
Enable separate data segment Enable separate data segment.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection Avoid generating pc-relative calls; use indirection.
mfast-fp mfast-fp
Target Report Mask(FAST_FP) Target Report Mask(FAST_FP)
Link with the fast floating-point library Link with the fast floating-point library.
mfdpic mfdpic
Target Report Mask(FDPIC) Target Report Mask(FDPIC)
Enable Function Descriptor PIC mode Enable Function Descriptor PIC mode.
minline-plt minline-plt
Target Report Mask(INLINE_PLT) Target Report Mask(INLINE_PLT)
Enable inlining of PLT in function calls Enable inlining of PLT in function calls.
mstack-check-l1 mstack-check-l1
Target Report Mask(STACK_CHECK_L1) Target Report Mask(STACK_CHECK_L1)
Do stack checking using bounds in L1 scratch memory Do stack checking using bounds in L1 scratch memory.
mmulticore mmulticore
Target Report Mask(MULTICORE) Target Report Mask(MULTICORE)
Enable multicore support Enable multicore support.
mcorea mcorea
Target Report Mask(COREA) Target Report Mask(COREA)
Build for Core A Build for Core A.
mcoreb mcoreb
Target Report Mask(COREB) Target Report Mask(COREB)
Build for Core B Build for Core B.
msdram msdram
Target Report Mask(SDRAM) Target Report Mask(SDRAM)
Build for SDRAM Build for SDRAM.
micplb micplb
Target Report Mask(ICPLB) Target Report Mask(ICPLB)
......
...@@ -27,23 +27,23 @@ config/c6x/c6x-opts.h ...@@ -27,23 +27,23 @@ config/c6x/c6x-opts.h
mbig-endian mbig-endian
Target Report RejectNegative Mask(BIG_ENDIAN) Target Report RejectNegative Mask(BIG_ENDIAN)
Use big-endian byte order Use big-endian byte order.
mlittle-endian mlittle-endian
Target Report RejectNegative InverseMask(BIG_ENDIAN, LITTLE_ENDIAN) Target Report RejectNegative InverseMask(BIG_ENDIAN, LITTLE_ENDIAN)
Use little-endian byte order Use little-endian byte order.
msim msim
Target RejectNegative Target RejectNegative
Use simulator runtime Use simulator runtime.
msdata= msdata=
Target RejectNegative Enum(c6x_sdata) Joined Var(c6x_sdata_mode) Init(C6X_SDATA_DEFAULT) Target RejectNegative Enum(c6x_sdata) Joined Var(c6x_sdata_mode) Init(C6X_SDATA_DEFAULT)
Select method for sdata handling Select method for sdata handling.
Enum Enum
Name(c6x_sdata) Type(enum c6x_sdata) Name(c6x_sdata) Type(enum c6x_sdata)
Valid arguments for the -msdata= option Valid arguments for the -msdata= option.
EnumValue EnumValue
Enum(c6x_sdata) String(none) Value(C6X_SDATA_NONE) Enum(c6x_sdata) String(none) Value(C6X_SDATA_NONE)
...@@ -56,12 +56,12 @@ Enum(c6x_sdata) String(all) Value(C6X_SDATA_ALL) ...@@ -56,12 +56,12 @@ Enum(c6x_sdata) String(all) Value(C6X_SDATA_ALL)
mdsbt mdsbt
Target Mask(DSBT) Target Mask(DSBT)
Compile for the DSBT shared library ABI Compile for the DSBT shared library ABI.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection Avoid generating pc-relative calls; use indirection.
march= march=
Target RejectNegative Joined Enum(c6x_isa) Var(c6x_arch_option) Target RejectNegative Joined Enum(c6x_isa) Var(c6x_arch_option)
Specify the name of the target architecture Specify the name of the target architecture.
...@@ -20,30 +20,30 @@ ...@@ -20,30 +20,30 @@
msim msim
Target Target
-msim Use simulator runtime -msim Use simulator runtime.
mbit-ops mbit-ops
Target Report Mask(BIT_OPS) Target Report Mask(BIT_OPS)
Generate SBIT, CBIT instructions Generate SBIT, CBIT instructions.
mmac mmac
Target Report Mask(MAC) Target Report Mask(MAC)
Support multiply accumulate instructions Support multiply accumulate instructions.
mdebug-addr mdebug-addr
Target RejectNegative Var(TARGET_DEBUG_ADDR) Undocumented Target RejectNegative Var(TARGET_DEBUG_ADDR) Undocumented
mdata-model= mdata-model=
Target RejectNegative JoinedOrMissing Var(cr16_data_model) Target RejectNegative JoinedOrMissing Var(cr16_data_model)
Treat data references as near, far or medium. medium is default Treat data references as near, far or medium. medium is default.
mcr16c mcr16c
Target RejectNegative Mask(CR16C) Target RejectNegative Mask(CR16C)
Generate code for CR16C architecture Generate code for CR16C architecture.
mcr16cplus mcr16cplus
Target RejectNegative InverseMask(CR16C,CR16CP) Target RejectNegative InverseMask(CR16C,CR16CP)
Generate code for CR16C+ architecture (Default) Generate code for CR16C+ architecture (Default).
mint32 mint32
Target RejectNegative Mask(INT32) Target RejectNegative Mask(INT32)
......
...@@ -42,18 +42,18 @@ ...@@ -42,18 +42,18 @@
; on the same page, including the TLB registers). ; on the same page, including the TLB registers).
mmul-bug-workaround mmul-bug-workaround
Target Report Mask(MUL_BUG) Target Report Mask(MUL_BUG)
Work around bug in multiplication instruction Work around bug in multiplication instruction.
; TARGET_ETRAX4_ADD: Instruction-set additions from Etrax 4 and up. ; TARGET_ETRAX4_ADD: Instruction-set additions from Etrax 4 and up.
; (Just "lz".) ; (Just "lz".)
metrax4 metrax4
Target Report Mask(ETRAX4_ADD) Target Report Mask(ETRAX4_ADD)
Compile for ETRAX 4 (CRIS v3) Compile for ETRAX 4 (CRIS v3).
; See cris_handle_option. ; See cris_handle_option.
metrax100 metrax100
Target Report RejectNegative Target Report RejectNegative
Compile for ETRAX 100 (CRIS v8) Compile for ETRAX 100 (CRIS v8).
; See cris_handle_option. ; See cris_handle_option.
mno-etrax100 mno-etrax100
...@@ -61,14 +61,14 @@ Target Report RejectNegative Undocumented ...@@ -61,14 +61,14 @@ Target Report RejectNegative Undocumented
mpdebug mpdebug
Target Report Mask(PDEBUG) Target Report Mask(PDEBUG)
Emit verbose debug information in assembly code Emit verbose debug information in assembly code.
; TARGET_CCINIT: Whether to use condition-codes generated by ; TARGET_CCINIT: Whether to use condition-codes generated by
; insns other than the immediately preceding compare/test insn. ; insns other than the immediately preceding compare/test insn.
; Used to check for errors in notice_update_cc. ; Used to check for errors in notice_update_cc.
mcc-init mcc-init
Target Report Mask(CCINIT) Target Report Mask(CCINIT)
Do not use condition codes from normal instructions Do not use condition codes from normal instructions.
; TARGET_SIDE_EFFECT_PREFIXES: Whether to use side-effect ; TARGET_SIDE_EFFECT_PREFIXES: Whether to use side-effect
; patterns. Used to debug the [rx=ry+i] type patterns. ; patterns. Used to debug the [rx=ry+i] type patterns.
...@@ -77,7 +77,7 @@ Target Report RejectNegative Mask(SIDE_EFFECT_PREFIXES) Undocumented ...@@ -77,7 +77,7 @@ Target Report RejectNegative Mask(SIDE_EFFECT_PREFIXES) Undocumented
mno-side-effects mno-side-effects
Target Report RejectNegative InverseMask(SIDE_EFFECT_PREFIXES) Target Report RejectNegative InverseMask(SIDE_EFFECT_PREFIXES)
Do not emit addressing modes with side-effect assignment Do not emit addressing modes with side-effect assignment.
; TARGET_STACK_ALIGN: Whether to *keep* (not force) alignment of ; TARGET_STACK_ALIGN: Whether to *keep* (not force) alignment of
; stack at 16 (or 32, depending on TARGET_ALIGN_BY_32) bits. ; stack at 16 (or 32, depending on TARGET_ALIGN_BY_32) bits.
...@@ -86,7 +86,7 @@ Target Report RejectNegative Mask(STACK_ALIGN) Undocumented ...@@ -86,7 +86,7 @@ Target Report RejectNegative Mask(STACK_ALIGN) Undocumented
mno-stack-align mno-stack-align
Target Report RejectNegative InverseMask(STACK_ALIGN) Target Report RejectNegative InverseMask(STACK_ALIGN)
Do not tune stack alignment Do not tune stack alignment.
; TARGET_DATA_ALIGN: Whether to do alignment on individual ; TARGET_DATA_ALIGN: Whether to do alignment on individual
; modifiable objects. ; modifiable objects.
...@@ -95,7 +95,7 @@ Target Report RejectNegative Mask(DATA_ALIGN) Undocumented ...@@ -95,7 +95,7 @@ Target Report RejectNegative Mask(DATA_ALIGN) Undocumented
mno-data-align mno-data-align
Target Report RejectNegative InverseMask(DATA_ALIGN) Target Report RejectNegative InverseMask(DATA_ALIGN)
Do not tune writable data alignment Do not tune writable data alignment.
; TARGET_CONST_ALIGN: Whether to do alignment on individual ; TARGET_CONST_ALIGN: Whether to do alignment on individual
; non-modifiable objects. ; non-modifiable objects.
...@@ -104,7 +104,7 @@ Target Report RejectNegative Mask(CONST_ALIGN) Undocumented ...@@ -104,7 +104,7 @@ Target Report RejectNegative Mask(CONST_ALIGN) Undocumented
mno-const-align mno-const-align
Target Report RejectNegative InverseMask(CONST_ALIGN) Target Report RejectNegative InverseMask(CONST_ALIGN)
Do not tune code and read-only data alignment Do not tune code and read-only data alignment.
; See cris_handle_option. ; See cris_handle_option.
m32-bit m32-bit
...@@ -113,7 +113,7 @@ Target Report RejectNegative Undocumented ...@@ -113,7 +113,7 @@ Target Report RejectNegative Undocumented
; See cris_handle_option. ; See cris_handle_option.
m32bit m32bit
Target Report RejectNegative Target Report RejectNegative
Align code and data to 32 bits Align code and data to 32 bits.
; See cris_handle_option. ; See cris_handle_option.
m16-bit m16-bit
...@@ -130,7 +130,7 @@ Target Report RejectNegative Undocumented ...@@ -130,7 +130,7 @@ Target Report RejectNegative Undocumented
; See cris_handle_option. ; See cris_handle_option.
m8bit m8bit
Target Report RejectNegative Target Report RejectNegative
Don't align items in code or data Don't align items in code or data.
; TARGET_PROLOGUE_EPILOGUE: Whether or not to omit function ; TARGET_PROLOGUE_EPILOGUE: Whether or not to omit function
; prologue and epilogue. ; prologue and epilogue.
...@@ -139,14 +139,14 @@ Target Report RejectNegative Mask(PROLOGUE_EPILOGUE) Undocumented ...@@ -139,14 +139,14 @@ Target Report RejectNegative Mask(PROLOGUE_EPILOGUE) Undocumented
mno-prologue-epilogue mno-prologue-epilogue
Target Report RejectNegative InverseMask(PROLOGUE_EPILOGUE) Target Report RejectNegative InverseMask(PROLOGUE_EPILOGUE)
Do not emit function prologue or epilogue Do not emit function prologue or epilogue.
; We have to handle this m-option here since we can't wash it ; We have to handle this m-option here since we can't wash it
; off in both CC1_SPEC and CC1PLUS_SPEC. ; off in both CC1_SPEC and CC1PLUS_SPEC.
mbest-lib-options mbest-lib-options
Target Report RejectNegative Target Report RejectNegative
Use the most feature-enabling options allowed by other options Use the most feature-enabling options allowed by other options.
; FIXME: The following comment relates to gcc before cris.opt. ; FIXME: The following comment relates to gcc before cris.opt.
; Check if it's still valid: ; Check if it's still valid:
...@@ -155,22 +155,22 @@ Use the most feature-enabling options allowed by other options ...@@ -155,22 +155,22 @@ Use the most feature-enabling options allowed by other options
; Kludgy, but needed for some multilibbed files. ; Kludgy, but needed for some multilibbed files.
moverride-best-lib-options moverride-best-lib-options
Target Report RejectNegative Target Report RejectNegative
Override -mbest-lib-options Override -mbest-lib-options.
mcpu= mcpu=
Target Report RejectNegative Joined Undocumented Var(cris_cpu_str) Target Report RejectNegative Joined Undocumented Var(cris_cpu_str)
march= march=
Target Report RejectNegative Joined Var(cris_cpu_str) Target Report RejectNegative Joined Var(cris_cpu_str)
-march=ARCH Generate code for the specified chip or CPU version -march=ARCH Generate code for the specified chip or CPU version.
mtune= mtune=
Target Report RejectNegative Joined Var(cris_tune_str) Target Report RejectNegative Joined Var(cris_tune_str)
-mtune=ARCH Tune alignment for the specified chip or CPU version -mtune=ARCH Tune alignment for the specified chip or CPU version.
mmax-stackframe= mmax-stackframe=
Target Report RejectNegative Joined Var(cris_max_stackframe_str) Target Report RejectNegative Joined Var(cris_max_stackframe_str)
-mmax-stackframe=SIZE Warn when a stackframe is larger than the specified size -mmax-stackframe=SIZE Warn when a stackframe is larger than the specified size.
max-stackframe= max-stackframe=
Target Report RejectNegative Joined Undocumented Var(cris_max_stackframe_str) Target Report RejectNegative Joined Undocumented Var(cris_max_stackframe_str)
...@@ -181,7 +181,7 @@ Emit traps as \"break 8\", default for CRIS v3 and up. If disabled, calls to ab ...@@ -181,7 +181,7 @@ Emit traps as \"break 8\", default for CRIS v3 and up. If disabled, calls to ab
mtrap-unaligned-atomic mtrap-unaligned-atomic
Target Report Var(cris_trap_unaligned_atomic) Init(2) Target Report Var(cris_trap_unaligned_atomic) Init(2)
Emit checks causing \"break 8\" instructions to execute when applying atomic builtins on misaligned memory Emit checks causing \"break 8\" instructions to execute when applying atomic builtins on misaligned memory.
munaligned-atomic-may-use-library munaligned-atomic-may-use-library
Target Report Var(cris_atomics_calling_libfunc) Init(2) Target Report Var(cris_atomics_calling_libfunc) Init(2)
......
...@@ -24,7 +24,7 @@ Target Report RejectNegative Undocumented ...@@ -24,7 +24,7 @@ Target Report RejectNegative Undocumented
mno-gotplt mno-gotplt
Target Report RejectNegative Mask(AVOID_GOTPLT) Target Report RejectNegative Mask(AVOID_GOTPLT)
Together with -fpic and -fPIC, do not use GOTPLT references Together with -fpic and -fPIC, do not use GOTPLT references.
; There's a small added setup cost with using GOTPLT references ; There's a small added setup cost with using GOTPLT references
; for the first (resolving) call, but should in total be a win ; for the first (resolving) call, but should in total be a win
......
...@@ -111,7 +111,7 @@ Driver ...@@ -111,7 +111,7 @@ Driver
mconstant-cfstrings mconstant-cfstrings
Target Report Var(darwin_constant_cfstrings) Init(1) Target Report Var(darwin_constant_cfstrings) Init(1)
Generate compile-time CFString objects Generate compile-time CFString objects.
multi_module multi_module
Driver RejectNegative Alias(Zmulti_module) Driver RejectNegative Alias(Zmulti_module)
...@@ -208,20 +208,20 @@ Driver ...@@ -208,20 +208,20 @@ Driver
Wnonportable-cfstrings Wnonportable-cfstrings
Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
Warn if constant CFString objects contain non-portable characters Warn if constant CFString objects contain non-portable characters.
; Use new-style pic stubs if this is true, x86 only so far. ; Use new-style pic stubs if this is true, x86 only so far.
matt-stubs matt-stubs
Target Report Var(darwin_macho_att_stub) Init(1) Target Report Var(darwin_macho_att_stub) Init(1)
Generate AT&T-style stubs for Mach-O Generate AT&T-style stubs for Mach-O.
mdynamic-no-pic mdynamic-no-pic
Target Common Report Mask(MACHO_DYNAMIC_NO_PIC) Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
Generate code suitable for executables (NOT shared libs) Generate code suitable for executables (NOT shared libs).
mfix-and-continue mfix-and-continue
Target Report Var(darwin_fix_and_continue) Target Report Var(darwin_fix_and_continue)
Generate code suitable for fast turn around debugging Generate code suitable for fast turn around debugging.
; The Init here is for the convenience of GCC developers, so that cc1 ; The Init here is for the convenience of GCC developers, so that cc1
; and cc1plus don't crash if no -mmacosx-version-min is passed. The ; and cc1plus don't crash if no -mmacosx-version-min is passed. The
...@@ -229,23 +229,23 @@ Generate code suitable for fast turn around debugging ...@@ -229,23 +229,23 @@ Generate code suitable for fast turn around debugging
; Init is never used. ; Init is never used.
mmacosx-version-min= mmacosx-version-min=
Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION) Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION)
The earliest MacOS X version on which this program will run The earliest MacOS X version on which this program will run.
mone-byte-bool mone-byte-bool
Target RejectNegative Report Var(darwin_one_byte_bool) Target RejectNegative Report Var(darwin_one_byte_bool)
Set sizeof(bool) to 1 Set sizeof(bool) to 1.
fapple-kext fapple-kext
Target Report C++ Var(flag_apple_kext) Target Report C++ Var(flag_apple_kext)
Generate code for darwin loadable kernel extensions Generate code for darwin loadable kernel extensions.
mkernel mkernel
Target Report Var(flag_mkernel) Target Report Var(flag_mkernel)
Generate code for the kernel or loadable kernel extensions Generate code for the kernel or loadable kernel extensions.
iframework iframework
Target RejectNegative C ObjC C++ ObjC++ Joined Separate Target RejectNegative C ObjC C++ ObjC++ Joined Separate
-iframework <dir> Add <dir> to the end of the system framework include path -iframework <dir> Add <dir> to the end of the system framework include path.
X X
Driver Driver
......
...@@ -29,7 +29,7 @@ preferentially allocate registers that allow short instruction generation. ...@@ -29,7 +29,7 @@ preferentially allocate registers that allow short instruction generation.
mbranch-cost= mbranch-cost=
Target RejectNegative Joined UInteger Var(epiphany_branch_cost) Init(3) Target RejectNegative Joined UInteger Var(epiphany_branch_cost) Init(3)
Set branch cost Set branch cost.
mcmove mcmove
Target Mask(CMOVE) Target Mask(CMOVE)
...@@ -37,7 +37,7 @@ enable conditional move instruction usage. ...@@ -37,7 +37,7 @@ enable conditional move instruction usage.
mnops= mnops=
Target RejectNegative Joined UInteger Var(epiphany_n_nops) Init(0) Target RejectNegative Joined UInteger Var(epiphany_n_nops) Init(0)
set number of nops to emit before each insn pattern set number of nops to emit before each insn pattern.
; Problems with using the flags from fsub for comparison are: ; Problems with using the flags from fsub for comparison are:
; - Because of underflow (lack of subnormal numbers), different small numbers ; - Because of underflow (lack of subnormal numbers), different small numbers
...@@ -49,19 +49,19 @@ set number of nops to emit before each insn pattern ...@@ -49,19 +49,19 @@ set number of nops to emit before each insn pattern
; equal. ; equal.
msoft-cmpsf msoft-cmpsf
Target Mask(SOFT_CMPSF) Target Mask(SOFT_CMPSF)
Use software floating point comparisons Use software floating point comparisons.
msplit-lohi msplit-lohi
Target Mask(SPLIT_LOHI) Target Mask(SPLIT_LOHI)
Enable split of 32 bit immediate loads into low / high part Enable split of 32 bit immediate loads into low / high part.
mpost-inc mpost-inc
Target Mask(POST_INC) Target Mask(POST_INC)
Enable use of POST_INC / POST_DEC Enable use of POST_INC / POST_DEC.
mpost-modify mpost-modify
Target Mask(POST_MODIFY) Target Mask(POST_MODIFY)
Enable use of POST_MODIFY Enable use of POST_MODIFY.
mstack-offset= mstack-offset=
Target RejectNegative Joined UInteger Var(epiphany_stack_offset) Init(EPIPHANY_STACK_OFFSET) Target RejectNegative Joined UInteger Var(epiphany_stack_offset) Init(EPIPHANY_STACK_OFFSET)
...@@ -73,11 +73,11 @@ Assume round to nearest is selected for purposes of scheduling. ...@@ -73,11 +73,11 @@ Assume round to nearest is selected for purposes of scheduling.
mlong-calls mlong-calls
Target Mask(LONG_CALLS) Target Mask(LONG_CALLS)
Generate call insns as indirect calls Generate call insns as indirect calls.
mshort-calls mshort-calls
Target Mask(SHORT_CALLS) Target Mask(SHORT_CALLS)
Generate call insns as direct calls Generate call insns as direct calls.
msmall16 msmall16
Target Mask(SMALL16) Target Mask(SMALL16)
...@@ -105,7 +105,7 @@ Enum(attr_fp_mode) String(int) Value(FP_MODE_INT) ...@@ -105,7 +105,7 @@ Enum(attr_fp_mode) String(int) Value(FP_MODE_INT)
may-round-for-trunc may-round-for-trunc
Target Mask(MAY_ROUND_FOR_TRUNC) Target Mask(MAY_ROUND_FOR_TRUNC)
A floatig point to integer truncation may be replaced with rounding to save mode switching A floatig point to integer truncation may be replaced with rounding to save mode switching.
mvect-double mvect-double
Target Mask(VECT_DOUBLE) Target Mask(VECT_DOUBLE)
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
msmall-model msmall-model
Target Report Mask(SMALL_MODEL) Target Report Mask(SMALL_MODEL)
Assume small address space Assume small address space.
mno-lsim mno-lsim
Target RejectNegative Target RejectNegative
Assume that run-time support has been provided, so omit -lsim from the linker command line Assume that run-time support has been provided, so omit -lsim from the linker command line.
...@@ -27,46 +27,46 @@ frv_cpu_t frv_cpu_type = CPU_TYPE ...@@ -27,46 +27,46 @@ frv_cpu_t frv_cpu_type = CPU_TYPE
macc-4 macc-4
Target Report RejectNegative Mask(ACC_4) Target Report RejectNegative Mask(ACC_4)
Use 4 media accumulators Use 4 media accumulators.
macc-8 macc-8
Target Report RejectNegative InverseMask(ACC_4, ACC_8) Target Report RejectNegative InverseMask(ACC_4, ACC_8)
Use 8 media accumulators Use 8 media accumulators.
malign-labels malign-labels
Target Report Mask(ALIGN_LABELS) Target Report Mask(ALIGN_LABELS)
Enable label alignment optimizations Enable label alignment optimizations.
malloc-cc malloc-cc
Target Report RejectNegative Mask(ALLOC_CC) Target Report RejectNegative Mask(ALLOC_CC)
Dynamically allocate cc registers Dynamically allocate cc registers.
; We used to default the branch cost to 2, but it was changed it to 1 to avoid ; We used to default the branch cost to 2, but it was changed it to 1 to avoid
; generating SCC instructions and or/and-ing them together, and then doing the ; generating SCC instructions and or/and-ing them together, and then doing the
; branch on the result, which collectively generate much worse code. ; branch on the result, which collectively generate much worse code.
mbranch-cost= mbranch-cost=
Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1) Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1)
Set the cost of branches Set the cost of branches.
mcond-exec mcond-exec
Target Report Mask(COND_EXEC) Target Report Mask(COND_EXEC)
Enable conditional execution other than moves/scc Enable conditional execution other than moves/scc.
mcond-exec-insns= mcond-exec-insns=
Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8) Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8)
Change the maximum length of conditionally-executed sequences Change the maximum length of conditionally-executed sequences.
mcond-exec-temps= mcond-exec-temps=
Target RejectNegative Joined UInteger Var(frv_condexec_temps) Init(4) Target RejectNegative Joined UInteger Var(frv_condexec_temps) Init(4)
Change the number of temporary registers that are available to conditionally-executed sequences Change the number of temporary registers that are available to conditionally-executed sequences.
mcond-move mcond-move
Target Report Mask(COND_MOVE) Target Report Mask(COND_MOVE)
Enable conditional moves Enable conditional moves.
mcpu= mcpu=
Target RejectNegative Joined Enum(frv_cpu) Var(frv_cpu_type) Target RejectNegative Joined Enum(frv_cpu) Var(frv_cpu_type)
Set the target CPU type Set the target CPU type.
Enum Enum
Name(frv_cpu) Type(frv_cpu_t) Name(frv_cpu) Type(frv_cpu_t)
...@@ -119,119 +119,119 @@ Target Undocumented Var(TARGET_DEBUG_STACK) ...@@ -119,119 +119,119 @@ Target Undocumented Var(TARGET_DEBUG_STACK)
mdouble mdouble
Target Report Mask(DOUBLE) Target Report Mask(DOUBLE)
Use fp double instructions Use fp double instructions.
mdword mdword
Target Report Mask(DWORD) Target Report Mask(DWORD)
Change the ABI to allow double word insns Change the ABI to allow double word insns.
mfdpic mfdpic
Target Report Mask(FDPIC) Target Report Mask(FDPIC)
Enable Function Descriptor PIC mode Enable Function Descriptor PIC mode.
mfixed-cc mfixed-cc
Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC) Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC)
Just use icc0/fcc0 Just use icc0/fcc0.
mfpr-32 mfpr-32
Target Report RejectNegative Mask(FPR_32) Target Report RejectNegative Mask(FPR_32)
Only use 32 FPRs Only use 32 FPRs.
mfpr-64 mfpr-64
Target Report RejectNegative InverseMask(FPR_32, FPR_64) Target Report RejectNegative InverseMask(FPR_32, FPR_64)
Use 64 FPRs Use 64 FPRs.
mgpr-32 mgpr-32
Target Report RejectNegative Mask(GPR_32) Target Report RejectNegative Mask(GPR_32)
Only use 32 GPRs Only use 32 GPRs.
mgpr-64 mgpr-64
Target Report RejectNegative InverseMask(GPR_32, GPR_64) Target Report RejectNegative InverseMask(GPR_32, GPR_64)
Use 64 GPRs Use 64 GPRs.
mgprel-ro mgprel-ro
Target Report Mask(GPREL_RO) Target Report Mask(GPREL_RO)
Enable use of GPREL for read-only data in FDPIC Enable use of GPREL for read-only data in FDPIC.
mhard-float mhard-float
Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT) Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
Use hardware floating point Use hardware floating point.
minline-plt minline-plt
Target Report Mask(INLINE_PLT) Target Report Mask(INLINE_PLT)
Enable inlining of PLT in function calls Enable inlining of PLT in function calls.
mlibrary-pic mlibrary-pic
Target Report Mask(LIBPIC) Target Report Mask(LIBPIC)
Enable PIC support for building libraries Enable PIC support for building libraries.
mlinked-fp mlinked-fp
Target Report Mask(LINKED_FP) Target Report Mask(LINKED_FP)
Follow the EABI linkage requirements Follow the EABI linkage requirements.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Disallow direct calls to global functions Disallow direct calls to global functions.
mmedia mmedia
Target Report Mask(MEDIA) Target Report Mask(MEDIA)
Use media instructions Use media instructions.
mmuladd mmuladd
Target Report Mask(MULADD) Target Report Mask(MULADD)
Use multiply add/subtract instructions Use multiply add/subtract instructions.
mmulti-cond-exec mmulti-cond-exec
Target Report Mask(MULTI_CE) Target Report Mask(MULTI_CE)
Enable optimizing &&/|| in conditional execution Enable optimizing &&/|| in conditional execution.
mnested-cond-exec mnested-cond-exec
Target Report Mask(NESTED_CE) Target Report Mask(NESTED_CE)
Enable nested conditional execution optimizations Enable nested conditional execution optimizations.
; Not used by the compiler proper. ; Not used by the compiler proper.
mno-eflags mno-eflags
Target RejectNegative Target RejectNegative
Do not mark ABI switches in e_flags Do not mark ABI switches in e_flags.
moptimize-membar moptimize-membar
Target Report Mask(OPTIMIZE_MEMBAR) Target Report Mask(OPTIMIZE_MEMBAR)
Remove redundant membars Remove redundant membars.
mpack mpack
Target Report Mask(PACK) Target Report Mask(PACK)
Pack VLIW instructions Pack VLIW instructions.
mscc mscc
Target Report Mask(SCC) Target Report Mask(SCC)
Enable setting GPRs to the result of comparisons Enable setting GPRs to the result of comparisons.
msched-lookahead= msched-lookahead=
Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4) Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4)
Change the amount of scheduler lookahead Change the amount of scheduler lookahead.
msoft-float msoft-float
Target Report RejectNegative Mask(SOFT_FLOAT) Target Report RejectNegative Mask(SOFT_FLOAT)
Use software floating point Use software floating point.
mTLS mTLS
Target Report RejectNegative Mask(BIG_TLS) Target Report RejectNegative Mask(BIG_TLS)
Assume a large TLS segment Assume a large TLS segment.
mtls mtls
Target Report RejectNegative InverseMask(BIG_TLS) Target Report RejectNegative InverseMask(BIG_TLS)
Do not assume a large TLS segment Do not assume a large TLS segment.
; Not used by the compiler proper. ; Not used by the compiler proper.
mtomcat-stats mtomcat-stats
Target Target
Cause gas to print tomcat statistics Cause gas to print tomcat statistics.
; Not used by the compiler proper. ; Not used by the compiler proper.
multilib-library-pic multilib-library-pic
Target RejectNegative Target RejectNegative
Link with the library-pic libraries Link with the library-pic libraries.
mvliw-branch mvliw-branch
Target Report Mask(VLIW_BRANCH) Target Report Mask(VLIW_BRANCH)
Allow branches to be packed with other instructions Allow branches to be packed with other instructions.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
msim msim
Target Report Mask(SIM) Target Report Mask(SIM)
target the software simulator target the software simulator.
mlra mlra
Target Report Var(ft32_lra_flag) Init(0) Save Target Report Var(ft32_lra_flag) Init(0) Save
Use LRA instead of reload Use LRA instead of reload.
...@@ -24,6 +24,6 @@ ...@@ -24,6 +24,6 @@
G G
Target Joined Separate UInteger Var(g_switch_value) Target Joined Separate UInteger Var(g_switch_value)
-G<number> Put global and static data smaller than <number> bytes into a special section (on some targets) -G<number> Put global and static data smaller than <number> bytes into a special section (on some targets).
; This comment is to ensure we retain the blank line above. ; This comment is to ensure we retain the blank line above.
...@@ -20,52 +20,52 @@ ...@@ -20,52 +20,52 @@
ms ms
Target Mask(H8300S_1) Target Mask(H8300S_1)
Generate H8S code Generate H8S code.
msx msx
Target Mask(H8300SX) Target Mask(H8300SX)
Generate H8SX code Generate H8SX code.
ms2600 ms2600
Target Mask(MAC) Target Mask(MAC)
Generate H8S/2600 code Generate H8S/2600 code.
mint32 mint32
Target RejectNegative Mask(INT32) Target RejectNegative Mask(INT32)
Make integers 32 bits wide Make integers 32 bits wide.
maddresses maddresses
Target Undocumented RejectNegative Mask(ADDRESSES) Target Undocumented RejectNegative Mask(ADDRESSES)
mquickcall mquickcall
Target Mask(QUICKCALL) Target Mask(QUICKCALL)
Use registers for argument passing Use registers for argument passing.
mslowbyte mslowbyte
Target RejectNegative Mask(SLOWBYTE) Target RejectNegative Mask(SLOWBYTE)
Consider access to byte sized memory slow Consider access to byte sized memory slow.
mrelax mrelax
Target RejectNegative Mask(RELAX) Target RejectNegative Mask(RELAX)
Enable linker relaxing Enable linker relaxing.
mh mh
Target Mask(H8300H) Target Mask(H8300H)
Generate H8/300H code Generate H8/300H code.
mn mn
Target Mask(NORMAL_MODE) Target Mask(NORMAL_MODE)
Enable the normal mode Enable the normal mode.
malign-300 malign-300
Target RejectNegative Mask(ALIGN_300) Target RejectNegative Mask(ALIGN_300)
Use H8/300 alignment rules Use H8/300 alignment rules.
mexr mexr
Target Mask(EXR) Target Mask(EXR)
Push extended registers on stack in monitor functions Push extended registers on stack in monitor functions.
mno-exr mno-exr
Target Mask(NEXR) Target Mask(NEXR)
Do not push extended registers on stack in monitor functions Do not push extended registers on stack in monitor functions.
...@@ -20,35 +20,35 @@ ...@@ -20,35 +20,35 @@
mconsole mconsole
Target RejectNegative Target RejectNegative
Create console application Create console application.
mdll mdll
Target RejectNegative Target RejectNegative
Generate code for a DLL Generate code for a DLL.
mnop-fun-dllimport mnop-fun-dllimport
Target Report Var(TARGET_NOP_FUN_DLLIMPORT) Target Report Var(TARGET_NOP_FUN_DLLIMPORT)
Ignore dllimport for functions Ignore dllimport for functions.
mthreads mthreads
Target RejectNegative Target RejectNegative
Use Mingw-specific thread support Use Mingw-specific thread support.
mwin32 mwin32
Target Target
Set Windows defines Set Windows defines.
mwindows mwindows
Target Target
Create GUI application Create GUI application.
mpe-aligned-commons mpe-aligned-commons
Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM) Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM)
Use the GNU extension to the PE format for aligned common data Use the GNU extension to the PE format for aligned common data.
muse-libstdc-wrappers muse-libstdc-wrappers
Target Condition({defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS)}) Target Condition({defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS)})
Compile code that relies on Cygwin DLL wrappers to support C++ operator new/delete replacement Compile code that relies on Cygwin DLL wrappers to support C++ operator new/delete replacement.
posix posix
Driver Driver
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
;; weak symbols, and .gnu.linkonce support. ;; weak symbols, and .gnu.linkonce support.
mbnu210 mbnu210
Target Var(TARGET_BNU210) Target Var(TARGET_BNU210)
Ignored (obsolete) Ignored (obsolete).
posix posix
Driver Driver
...@@ -29,6 +29,6 @@ Driver ...@@ -29,6 +29,6 @@ Driver
mpe-aligned-commons mpe-aligned-commons
Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM) Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM)
Use the GNU extension to the PE format for aligned common data Use the GNU extension to the PE format for aligned common data.
; This comment is to ensure we retain the blank line above. ; This comment is to ensure we retain the blank line above.
...@@ -20,6 +20,6 @@ ...@@ -20,6 +20,6 @@
municode municode
Target Target
Use unicode startup and define UNICODE macro Use unicode startup and define UNICODE macro.
; Retain blank line above. ; Retain blank line above.
...@@ -26,7 +26,7 @@ Driver ...@@ -26,7 +26,7 @@ Driver
Wpedantic-ms-format Wpedantic-ms-format
C ObjC C++ ObjC++ Var(warn_pedantic_ms_format) Init(1) Warning C ObjC C++ ObjC++ Var(warn_pedantic_ms_format) Init(1) Warning
Warn about none ISO msvcrt scanf/printf width extensions Warn about none ISO msvcrt scanf/printf width extensions.
fset-stack-executable fset-stack-executable
Common Report Var(flag_setstackexecutable) Init(1) Optimization Common Report Var(flag_setstackexecutable) Init(1) Optimization
......
...@@ -25,101 +25,101 @@ enum processor_type ia64_tune = PROCESSOR_ITANIUM2 ...@@ -25,101 +25,101 @@ enum processor_type ia64_tune = PROCESSOR_ITANIUM2
mbig-endian mbig-endian
Target Report RejectNegative Mask(BIG_ENDIAN) Target Report RejectNegative Mask(BIG_ENDIAN)
Generate big endian code Generate big endian code.
mlittle-endian mlittle-endian
Target Report RejectNegative InverseMask(BIG_ENDIAN) Target Report RejectNegative InverseMask(BIG_ENDIAN)
Generate little endian code Generate little endian code.
mgnu-as mgnu-as
Target Report Mask(GNU_AS) Target Report Mask(GNU_AS)
Generate code for GNU as Generate code for GNU as.
mgnu-ld mgnu-ld
Target Report Mask(GNU_LD) Target Report Mask(GNU_LD)
Generate code for GNU ld Generate code for GNU ld.
mvolatile-asm-stop mvolatile-asm-stop
Target Report Mask(VOL_ASM_STOP) Target Report Mask(VOL_ASM_STOP)
Emit stop bits before and after volatile extended asms Emit stop bits before and after volatile extended asms.
mregister-names mregister-names
Target Mask(REG_NAMES) Target Mask(REG_NAMES)
Use in/loc/out register names Use in/loc/out register names.
mno-sdata mno-sdata
Target Report RejectNegative Mask(NO_SDATA) Target Report RejectNegative Mask(NO_SDATA)
msdata msdata
Target Report RejectNegative InverseMask(NO_SDATA) Target Report RejectNegative InverseMask(NO_SDATA)
Enable use of sdata/scommon/sbss Enable use of sdata/scommon/sbss.
mno-pic mno-pic
Target Report RejectNegative Mask(NO_PIC) Target Report RejectNegative Mask(NO_PIC)
Generate code without GP reg Generate code without GP reg.
mconstant-gp mconstant-gp
Target Report RejectNegative Mask(CONST_GP) Target Report RejectNegative Mask(CONST_GP)
gp is constant (but save/restore gp on indirect calls) gp is constant (but save/restore gp on indirect calls).
mauto-pic mauto-pic
Target Report RejectNegative Mask(AUTO_PIC) Target Report RejectNegative Mask(AUTO_PIC)
Generate self-relocatable code Generate self-relocatable code.
minline-float-divide-min-latency minline-float-divide-min-latency
Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 1) Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 1)
Generate inline floating point division, optimize for latency Generate inline floating point division, optimize for latency.
minline-float-divide-max-throughput minline-float-divide-max-throughput
Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 2) Init(2) Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 2) Init(2)
Generate inline floating point division, optimize for throughput Generate inline floating point division, optimize for throughput.
mno-inline-float-divide mno-inline-float-divide
Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 0) Target Report RejectNegative Var(TARGET_INLINE_FLOAT_DIV, 0)
minline-int-divide-min-latency minline-int-divide-min-latency
Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 1) Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 1)
Generate inline integer division, optimize for latency Generate inline integer division, optimize for latency.
minline-int-divide-max-throughput minline-int-divide-max-throughput
Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 2) Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 2)
Generate inline integer division, optimize for throughput Generate inline integer division, optimize for throughput.
mno-inline-int-divide mno-inline-int-divide
Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 0) Target Report RejectNegative Var(TARGET_INLINE_INT_DIV, 0)
Do not inline integer division Do not inline integer division.
minline-sqrt-min-latency minline-sqrt-min-latency
Target Report RejectNegative Var(TARGET_INLINE_SQRT, 1) Target Report RejectNegative Var(TARGET_INLINE_SQRT, 1)
Generate inline square root, optimize for latency Generate inline square root, optimize for latency.
minline-sqrt-max-throughput minline-sqrt-max-throughput
Target Report RejectNegative Var(TARGET_INLINE_SQRT, 2) Target Report RejectNegative Var(TARGET_INLINE_SQRT, 2)
Generate inline square root, optimize for throughput Generate inline square root, optimize for throughput.
mno-inline-sqrt mno-inline-sqrt
Target Report RejectNegative Var(TARGET_INLINE_SQRT, 0) Target Report RejectNegative Var(TARGET_INLINE_SQRT, 0)
Do not inline square root Do not inline square root.
mdwarf2-asm mdwarf2-asm
Target Report Mask(DWARF2_ASM) Target Report Mask(DWARF2_ASM)
Enable Dwarf 2 line debug info via GNU as Enable Dwarf 2 line debug info via GNU as.
mearly-stop-bits mearly-stop-bits
Target Report Mask(EARLY_STOP_BITS) Target Report Mask(EARLY_STOP_BITS)
Enable earlier placing stop bits for better scheduling Enable earlier placing stop bits for better scheduling.
mfixed-range= mfixed-range=
Target RejectNegative Joined Var(ia64_deferred_options) Defer Target RejectNegative Joined Var(ia64_deferred_options) Defer
Specify range of registers to make fixed Specify range of registers to make fixed.
mtls-size= mtls-size=
Target RejectNegative Joined UInteger Var(ia64_tls_size) Init(22) Target RejectNegative Joined UInteger Var(ia64_tls_size) Init(22)
Specify bit size of immediate TLS offsets Specify bit size of immediate TLS offsets.
mtune= mtune=
Target RejectNegative Joined Enum(ia64_tune) Var(ia64_tune) Target RejectNegative Joined Enum(ia64_tune) Var(ia64_tune)
Schedule code for given CPU Schedule code for given CPU.
Enum Enum
Name(ia64_tune) Type(enum processor_type) Name(ia64_tune) Type(enum processor_type)
...@@ -133,35 +133,35 @@ Enum(ia64_tune) String(mckinley) Value(PROCESSOR_ITANIUM2) ...@@ -133,35 +133,35 @@ Enum(ia64_tune) String(mckinley) Value(PROCESSOR_ITANIUM2)
msched-br-data-spec msched-br-data-spec
Target Report Var(mflag_sched_br_data_spec) Init(0) Target Report Var(mflag_sched_br_data_spec) Init(0)
Use data speculation before reload Use data speculation before reload.
msched-ar-data-spec msched-ar-data-spec
Target Report Var(mflag_sched_ar_data_spec) Init(1) Target Report Var(mflag_sched_ar_data_spec) Init(1)
Use data speculation after reload Use data speculation after reload.
msched-control-spec msched-control-spec
Target Report Var(mflag_sched_control_spec) Init(2) Target Report Var(mflag_sched_control_spec) Init(2)
Use control speculation Use control speculation.
msched-br-in-data-spec msched-br-in-data-spec
Target Report Var(mflag_sched_br_in_data_spec) Init(1) Target Report Var(mflag_sched_br_in_data_spec) Init(1)
Use in block data speculation before reload Use in block data speculation before reload.
msched-ar-in-data-spec msched-ar-in-data-spec
Target Report Var(mflag_sched_ar_in_data_spec) Init(1) Target Report Var(mflag_sched_ar_in_data_spec) Init(1)
Use in block data speculation after reload Use in block data speculation after reload.
msched-in-control-spec msched-in-control-spec
Target Report Var(mflag_sched_in_control_spec) Init(1) Target Report Var(mflag_sched_in_control_spec) Init(1)
Use in block control speculation Use in block control speculation.
msched-spec-ldc msched-spec-ldc
Target Report Var(mflag_sched_spec_ldc) Init(1) Target Report Var(mflag_sched_spec_ldc) Init(1)
Use simple data speculation check Use simple data speculation check.
msched-spec-control-ldc msched-spec-control-ldc
Target Report Var(mflag_sched_spec_control_ldc) Init(0) Target Report Var(mflag_sched_spec_control_ldc) Init(0)
Use simple data speculation check for control speculation Use simple data speculation check for control speculation.
msched-prefer-non-data-spec-insns msched-prefer-non-data-spec-insns
Target Ignore Warn(switch %qs is no longer supported) Target Ignore Warn(switch %qs is no longer supported)
...@@ -171,26 +171,26 @@ Target Ignore Warn(switch %qs is no longer supported) ...@@ -171,26 +171,26 @@ Target Ignore Warn(switch %qs is no longer supported)
msched-count-spec-in-critical-path msched-count-spec-in-critical-path
Target Report Var(mflag_sched_count_spec_in_critical_path) Init(0) Target Report Var(mflag_sched_count_spec_in_critical_path) Init(0)
Count speculative dependencies while calculating priority of instructions Count speculative dependencies while calculating priority of instructions.
msched-stop-bits-after-every-cycle msched-stop-bits-after-every-cycle
Target Report Var(mflag_sched_stop_bits_after_every_cycle) Init(1) Target Report Var(mflag_sched_stop_bits_after_every_cycle) Init(1)
Place a stop bit after every cycle when scheduling Place a stop bit after every cycle when scheduling.
msched-fp-mem-deps-zero-cost msched-fp-mem-deps-zero-cost
Target Report Var(mflag_sched_fp_mem_deps_zero_cost) Init(0) Target Report Var(mflag_sched_fp_mem_deps_zero_cost) Init(0)
Assume that floating-point stores and loads are not likely to cause conflict when placed into one instruction group Assume that floating-point stores and loads are not likely to cause conflict when placed into one instruction group.
msched-max-memory-insns= msched-max-memory-insns=
Target RejectNegative Joined UInteger Var(ia64_max_memory_insns) Init(1) Target RejectNegative Joined UInteger Var(ia64_max_memory_insns) Init(1)
Soft limit on number of memory insns per instruction group, giving lower priority to subsequent memory insns attempting to schedule in the same insn group. Frequently useful to prevent cache bank conflicts. Default value is 1 Soft limit on number of memory insns per instruction group, giving lower priority to subsequent memory insns attempting to schedule in the same insn group. Frequently useful to prevent cache bank conflicts. Default value is 1.
msched-max-memory-insns-hard-limit msched-max-memory-insns-hard-limit
Target Report Var(mflag_sched_mem_insns_hard_limit) Init(0) Target Report Var(mflag_sched_mem_insns_hard_limit) Init(0)
Disallow more than 'msched-max-memory-insns' in instruction group. Otherwise, limit is 'soft' (prefer non-memory operations when limit is reached) Disallow more than 'msched-max-memory-insns' in instruction group. Otherwise, limit is 'soft' (prefer non-memory operations when limit is reached).
msel-sched-dont-check-control-spec msel-sched-dont-check-control-spec
Target Report Var(mflag_sel_sched_dont_check_control_spec) Init(0) Target Report Var(mflag_sel_sched_dont_check_control_spec) Init(0)
Don't generate checks for control speculation in selective scheduling Don't generate checks for control speculation in selective scheduling.
; This comment is to ensure we retain the blank line above. ; This comment is to ensure we retain the blank line above.
milp32 milp32
Target Report RejectNegative Mask(ILP32) Target Report RejectNegative Mask(ILP32)
Generate ILP32 code Generate ILP32 code.
mlp64 mlp64
Target Report RejectNegative InverseMask(ILP32) Target Report RejectNegative InverseMask(ILP32)
Generate LP64 code Generate LP64 code.
...@@ -28,7 +28,7 @@ enum processor_type iq2000_tune = PROCESSOR_DEFAULT ...@@ -28,7 +28,7 @@ enum processor_type iq2000_tune = PROCESSOR_DEFAULT
; This option has no effect at the moment. ; This option has no effect at the moment.
march= march=
Target RejectNegative Joined Enum(iq2000_arch) Target RejectNegative Joined Enum(iq2000_arch)
Specify CPU for code generation purposes Specify CPU for code generation purposes.
Enum Enum
Name(iq2000_arch) Type(int) Name(iq2000_arch) Type(int)
...@@ -44,7 +44,7 @@ Enum(iq2000_arch) String(iq2000) Value(0) ...@@ -44,7 +44,7 @@ Enum(iq2000_arch) String(iq2000) Value(0)
mcpu= mcpu=
Target RejectNegative Joined Enum(iq2000_tune) Var(iq2000_tune) Target RejectNegative Joined Enum(iq2000_tune) Var(iq2000_tune)
Specify CPU for scheduling purposes Specify CPU for scheduling purposes.
Enum Enum
Name(iq2000_tune) Type(enum processor_type) Name(iq2000_tune) Type(enum processor_type)
...@@ -58,17 +58,17 @@ Enum(iq2000_tune) String(iq2000) Value(PROCESSOR_IQ2000) ...@@ -58,17 +58,17 @@ Enum(iq2000_tune) String(iq2000) Value(PROCESSOR_IQ2000)
membedded-data membedded-data
Target Mask(EMBEDDED_DATA) Target Mask(EMBEDDED_DATA)
Use ROM instead of RAM Use ROM instead of RAM.
mgpopt mgpopt
Target Mask(GPOPT) Target Mask(GPOPT)
Use GP relative sdata/sbss sections Use GP relative sdata/sbss sections.
; Not used by the compiler proper. ; Not used by the compiler proper.
mno-crt0 mno-crt0
Target RejectNegative Target RejectNegative
No default crt0.o No default crt0.o.
muninit-const-in-rodata muninit-const-in-rodata
Target Mask(UNINIT_CONST_IN_RODATA) Target Mask(UNINIT_CONST_IN_RODATA)
Put uninitialized constants in ROM (needs -membedded-data) Put uninitialized constants in ROM (needs -membedded-data).
...@@ -21,16 +21,16 @@ ...@@ -21,16 +21,16 @@
mbionic mbionic
Target Report RejectNegative Var(linux_libc,LIBC_BIONIC) Init(DEFAULT_LIBC) Negative(mglibc) Target Report RejectNegative Var(linux_libc,LIBC_BIONIC) Init(DEFAULT_LIBC) Negative(mglibc)
Use Bionic C library Use Bionic C library.
mglibc mglibc
Target Report RejectNegative Var(linux_libc,LIBC_GLIBC) Negative(muclibc) Target Report RejectNegative Var(linux_libc,LIBC_GLIBC) Negative(muclibc)
Use GNU C library Use GNU C library.
muclibc muclibc
Target Report RejectNegative Var(linux_libc,LIBC_UCLIBC) Negative(mmusl) Target Report RejectNegative Var(linux_libc,LIBC_UCLIBC) Negative(mmusl)
Use uClibc C library Use uClibc C library.
mmusl mmusl
Target Report RejectNegative Var(linux_libc,LIBC_MUSL) Negative(mbionic) Target Report RejectNegative Var(linux_libc,LIBC_MUSL) Negative(mbionic)
Use musl C library Use musl C library.
...@@ -21,20 +21,20 @@ ...@@ -21,20 +21,20 @@
mmultiply-enabled mmultiply-enabled
Target Report Mask(MULTIPLY_ENABLED) Target Report Mask(MULTIPLY_ENABLED)
Enable multiply instructions Enable multiply instructions.
mdivide-enabled mdivide-enabled
Target Report Mask(DIVIDE_ENABLED) Target Report Mask(DIVIDE_ENABLED)
Enable divide and modulus instructions Enable divide and modulus instructions.
mbarrel-shift-enabled mbarrel-shift-enabled
Target Report Mask(BARREL_SHIFT_ENABLED) Target Report Mask(BARREL_SHIFT_ENABLED)
Enable barrel shift instructions Enable barrel shift instructions.
msign-extend-enabled msign-extend-enabled
Target Report Mask(SIGN_EXTEND_ENABLED) Target Report Mask(SIGN_EXTEND_ENABLED)
Enable sign extend instructions Enable sign extend instructions.
muser-enabled muser-enabled
Target Report Mask(USER_ENABLED) Target Report Mask(USER_ENABLED)
Enable user-defined instructions Enable user-defined instructions.
...@@ -20,12 +20,12 @@ ...@@ -20,12 +20,12 @@
mlegacy-threads mlegacy-threads
Target RejectNegative Target RejectNegative
Support legacy multi-threading Support legacy multi-threading.
mshared mshared
Target RejectNegative Target RejectNegative
Use shared libraries Use shared libraries.
mthreads mthreads
Target RejectNegative Target RejectNegative
Support multi-threading Support multi-threading.
...@@ -20,24 +20,24 @@ ...@@ -20,24 +20,24 @@
msim msim
Target Target
-msim Use simulator runtime -msim Use simulator runtime.
mcpu=r8c mcpu=r8c
Target RejectNegative Var(target_cpu,'r') Init('r') Target RejectNegative Var(target_cpu,'r') Init('r')
-mcpu=r8c Compile code for R8C variants -mcpu=r8c Compile code for R8C variants.
mcpu=m16c mcpu=m16c
Target RejectNegative Var(target_cpu,'6') Target RejectNegative Var(target_cpu,'6')
-mcpu=m16c Compile code for M16C variants -mcpu=m16c Compile code for M16C variants.
mcpu=m32cm mcpu=m32cm
Target RejectNegative Var(target_cpu,'m') Target RejectNegative Var(target_cpu,'m')
-mcpu=m32cm Compile code for M32CM variants -mcpu=m32cm Compile code for M32CM variants.
mcpu=m32c mcpu=m32c
Target RejectNegative Var(target_cpu,'3') Target RejectNegative Var(target_cpu,'3')
-mcpu=m32c Compile code for M32C variants -mcpu=m32c Compile code for M32C variants.
memregs= memregs=
Target RejectNegative Joined UInteger Var(target_memregs) Init(16) Target RejectNegative Joined UInteger Var(target_memregs) Init(16)
-memregs= Number of memreg bytes (default: 16, range: 0..16) -memregs= Number of memreg bytes (default: 16, range: 0..16).
...@@ -31,51 +31,51 @@ enum m32r_sdata m32r_sdata_selected = M32R_SDATA_DEFAULT ...@@ -31,51 +31,51 @@ enum m32r_sdata m32r_sdata_selected = M32R_SDATA_DEFAULT
m32rx m32rx
Target Report RejectNegative Mask(M32RX) Target Report RejectNegative Mask(M32RX)
Compile for the m32rx Compile for the m32rx.
m32r2 m32r2
Target Report RejectNegative Mask(M32R2) Target Report RejectNegative Mask(M32R2)
Compile for the m32r2 Compile for the m32r2.
m32r m32r
Target RejectNegative Target RejectNegative
Compile for the m32r Compile for the m32r.
malign-loops malign-loops
Target Report Mask(ALIGN_LOOPS) Target Report Mask(ALIGN_LOOPS)
Align all loops to 32 byte boundary Align all loops to 32 byte boundary.
mbranch-cost=1 mbranch-cost=1
Target Report RejectNegative Mask(BRANCH_COST) Target Report RejectNegative Mask(BRANCH_COST)
Prefer branches over conditional execution Prefer branches over conditional execution.
mbranch-cost=2 mbranch-cost=2
Target Report RejectNegative InverseMask(BRANCH_COST) Target Report RejectNegative InverseMask(BRANCH_COST)
Give branches their default cost Give branches their default cost.
mdebug mdebug
Target Mask(DEBUG) Target Mask(DEBUG)
Display compile time statistics Display compile time statistics.
mflush-func= mflush-func=
Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC) Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC)
Specify cache flush function Specify cache flush function.
mflush-trap= mflush-trap=
Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP) Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP)
Specify cache flush trap number Specify cache flush trap number.
missue-rate=1 missue-rate=1
Target Report RejectNegative Mask(LOW_ISSUE_RATE) Target Report RejectNegative Mask(LOW_ISSUE_RATE)
Only issue one instruction per cycle Only issue one instruction per cycle.
missue-rate=2 missue-rate=2
Target Report RejectNegative InverseMask(LOW_ISSUE_RATE) Target Report RejectNegative InverseMask(LOW_ISSUE_RATE)
Allow two instructions to be issued per cycle Allow two instructions to be issued per cycle.
mmodel= mmodel=
Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected) Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected)
Code size: small, medium or large Code size: small, medium or large.
Enum Enum
Name(m32r_model) Type(enum m32r_model) Name(m32r_model) Type(enum m32r_model)
...@@ -91,18 +91,18 @@ Enum(m32r_model) String(large) Value(M32R_MODEL_LARGE) ...@@ -91,18 +91,18 @@ Enum(m32r_model) String(large) Value(M32R_MODEL_LARGE)
mno-flush-func mno-flush-func
Target RejectNegative Target RejectNegative
Don't call any cache flush functions Don't call any cache flush functions.
mno-flush-trap mno-flush-trap
Target RejectNegative Var(m32r_cache_flush_trap, -1) Target RejectNegative Var(m32r_cache_flush_trap, -1)
Don't call any cache flush trap Don't call any cache flush trap.
; mrelax ; mrelax
; Target Mask(RELAX) ; Target Mask(RELAX)
msdata= msdata=
Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected) Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected)
Small data area: none, sdata, use Small data area: none, sdata, use.
Enum Enum
Name(m32r_sdata) Type(enum m32r_sdata) Name(m32r_sdata) Type(enum m32r_sdata)
......
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
; This option is ignored by gcc ; This option is ignored by gcc
mieee-fp mieee-fp
Target RejectNegative Target RejectNegative
Use IEEE math for fp comparisons Use IEEE math for fp comparisons.
...@@ -27,169 +27,169 @@ const char *m68k_library_id_string = "_current_shared_library_a5_offset_" ...@@ -27,169 +27,169 @@ const char *m68k_library_id_string = "_current_shared_library_a5_offset_"
m5200 m5200
Target RejectNegative Alias(mcpu=, 5206) Target RejectNegative Alias(mcpu=, 5206)
Generate code for a 520X Generate code for a 520X.
m5206e m5206e
Target RejectNegative Alias(mcpu=, 5206e) Target RejectNegative Alias(mcpu=, 5206e)
Generate code for a 5206e Generate code for a 5206e.
m528x m528x
Target RejectNegative Alias(mcpu=, 528x) Target RejectNegative Alias(mcpu=, 528x)
Generate code for a 528x Generate code for a 528x.
m5307 m5307
Target RejectNegative Alias(mcpu=, 5307) Target RejectNegative Alias(mcpu=, 5307)
Generate code for a 5307 Generate code for a 5307.
m5407 m5407
Target RejectNegative Alias(mcpu=, 5407) Target RejectNegative Alias(mcpu=, 5407)
Generate code for a 5407 Generate code for a 5407.
m68000 m68000
Target RejectNegative Alias(mcpu=, 68000) Target RejectNegative Alias(mcpu=, 68000)
Generate code for a 68000 Generate code for a 68000.
m68010 m68010
Target RejectNegative Alias(mcpu=, 68010) Target RejectNegative Alias(mcpu=, 68010)
Generate code for a 68010 Generate code for a 68010.
m68020 m68020
Target RejectNegative Alias(mcpu=, 68020) Target RejectNegative Alias(mcpu=, 68020)
Generate code for a 68020 Generate code for a 68020.
m68020-40 m68020-40
Target RejectNegative Target RejectNegative
Generate code for a 68040, without any new instructions Generate code for a 68040, without any new instructions.
m68020-60 m68020-60
Target RejectNegative Target RejectNegative
Generate code for a 68060, without any new instructions Generate code for a 68060, without any new instructions.
m68030 m68030
Target RejectNegative Alias(mcpu=, 68030) Target RejectNegative Alias(mcpu=, 68030)
Generate code for a 68030 Generate code for a 68030.
m68040 m68040
Target RejectNegative Alias(mcpu=, 68040) Target RejectNegative Alias(mcpu=, 68040)
Generate code for a 68040 Generate code for a 68040.
m68060 m68060
Target RejectNegative Alias(mcpu=, 68060) Target RejectNegative Alias(mcpu=, 68060)
Generate code for a 68060 Generate code for a 68060.
m68302 m68302
Target RejectNegative Alias(mcpu=, 68302) Target RejectNegative Alias(mcpu=, 68302)
Generate code for a 68302 Generate code for a 68302.
m68332 m68332
Target RejectNegative Alias(mcpu=, 68332) Target RejectNegative Alias(mcpu=, 68332)
Generate code for a 68332 Generate code for a 68332.
; Has no effect on gcc ; Has no effect on gcc
m68851 m68851
Target Target
Generate code for a 68851 Generate code for a 68851.
m68881 m68881
Target RejectNegative Mask(HARD_FLOAT) Target RejectNegative Mask(HARD_FLOAT)
Generate code that uses 68881 floating-point instructions Generate code that uses 68881 floating-point instructions.
malign-int malign-int
Target Report Mask(ALIGN_INT) Target Report Mask(ALIGN_INT)
Align variables on a 32-bit boundary Align variables on a 32-bit boundary.
march= march=
Target RejectNegative Joined Enum(m68k_isa) Var(m68k_arch_option) Target RejectNegative Joined Enum(m68k_isa) Var(m68k_arch_option)
Specify the name of the target architecture Specify the name of the target architecture.
mbitfield mbitfield
Target Report Mask(BITFIELD) Target Report Mask(BITFIELD)
Use the bit-field instructions Use the bit-field instructions.
mc68000 mc68000
Target RejectNegative Alias(mcpu=, 68000) Target RejectNegative Alias(mcpu=, 68000)
Generate code for a 68000 Generate code for a 68000.
mc68020 mc68020
Target RejectNegative Alias(mcpu=, 68020) Target RejectNegative Alias(mcpu=, 68020)
Generate code for a 68020 Generate code for a 68020.
mcfv4e mcfv4e
Target RejectNegative Alias(mcpu=, 547x) Target RejectNegative Alias(mcpu=, 547x)
Generate code for a ColdFire v4e Generate code for a ColdFire v4e.
mcpu= mcpu=
Target RejectNegative Joined Enum(target_device) Var(m68k_cpu_option) Init(unk_device) Target RejectNegative Joined Enum(target_device) Var(m68k_cpu_option) Init(unk_device)
Specify the target CPU Specify the target CPU.
mcpu32 mcpu32
Target RejectNegative Alias(mcpu=, 68332) Target RejectNegative Alias(mcpu=, 68332)
Generate code for a cpu32 Generate code for a cpu32.
mdiv mdiv
Target Report Mask(CF_HWDIV) Target Report Mask(CF_HWDIV)
Use hardware division instructions on ColdFire Use hardware division instructions on ColdFire.
mfidoa mfidoa
Target RejectNegative Target RejectNegative
Generate code for a Fido A Generate code for a Fido A.
mhard-float mhard-float
Target RejectNegative Mask(HARD_FLOAT) Target RejectNegative Mask(HARD_FLOAT)
Generate code which uses hardware floating point instructions Generate code which uses hardware floating point instructions.
mid-shared-library mid-shared-library
Target Report Mask(ID_SHARED_LIBRARY) Target Report Mask(ID_SHARED_LIBRARY)
Enable ID based shared library Enable ID based shared library.
mnobitfield mnobitfield
Target RejectNegative InverseMask(BITFIELD) Target RejectNegative InverseMask(BITFIELD)
Do not use the bit-field instructions Do not use the bit-field instructions.
mnortd mnortd
Target RejectNegative InverseMask(RTD) Target RejectNegative InverseMask(RTD)
Use normal calling convention Use normal calling convention.
mnoshort mnoshort
Target RejectNegative InverseMask(SHORT) Target RejectNegative InverseMask(SHORT)
Consider type 'int' to be 32 bits wide Consider type 'int' to be 32 bits wide.
mpcrel mpcrel
Target Report Mask(PCREL) Target Report Mask(PCREL)
Generate pc-relative code Generate pc-relative code.
mrtd mrtd
Target Report Mask(RTD) Target Report Mask(RTD)
Use different calling convention using 'rtd' Use different calling convention using 'rtd'.
msep-data msep-data
Target Report Mask(SEP_DATA) Target Report Mask(SEP_DATA)
Enable separate data segment Enable separate data segment.
mshared-library-id= mshared-library-id=
Target RejectNegative Joined UInteger Target RejectNegative Joined UInteger
ID of shared library to build ID of shared library to build.
mshort mshort
Target Report Mask(SHORT) Target Report Mask(SHORT)
Consider type 'int' to be 16 bits wide Consider type 'int' to be 16 bits wide.
msoft-float msoft-float
Target RejectNegative InverseMask(HARD_FLOAT) Target RejectNegative InverseMask(HARD_FLOAT)
Generate code with library calls for floating point Generate code with library calls for floating point.
mstrict-align mstrict-align
Target Report Mask(STRICT_ALIGNMENT) Target Report Mask(STRICT_ALIGNMENT)
Do not use unaligned memory references Do not use unaligned memory references.
mtune= mtune=
Target RejectNegative Joined Enum(uarch_type) Var(m68k_tune_option) Init(unk_arch) Target RejectNegative Joined Enum(uarch_type) Var(m68k_tune_option) Init(unk_arch)
Tune for the specified target CPU or architecture Tune for the specified target CPU or architecture.
mxgot mxgot
Target Report Mask(XGOT) Target Report Mask(XGOT)
Support more than 8192 GOT entries on ColdFire Support more than 8192 GOT entries on ColdFire.
mxtls mxtls
Target Report Mask(XTLS) Target Report Mask(XTLS)
Support TLS segment larger than 64K Support TLS segment larger than 64K.
...@@ -28,48 +28,48 @@ Generate code for the M*Core M340 ...@@ -28,48 +28,48 @@ Generate code for the M*Core M340
m4byte-functions m4byte-functions
Target Report Mask(OVERALIGN_FUNC) Target Report Mask(OVERALIGN_FUNC)
Force functions to be aligned to a 4 byte boundary Force functions to be aligned to a 4 byte boundary.
mbig-endian mbig-endian
Target RejectNegative Report InverseMask(LITTLE_END) Target RejectNegative Report InverseMask(LITTLE_END)
Generate big-endian code Generate big-endian code.
mcallgraph-data mcallgraph-data
Target Report Mask(CG_DATA) Target Report Mask(CG_DATA)
Emit call graph information Emit call graph information.
mdiv mdiv
Target Report Mask(DIV) Target Report Mask(DIV)
Use the divide instruction Use the divide instruction.
mhardlit mhardlit
Target Report Mask(HARDLIT) Target Report Mask(HARDLIT)
Inline constants if it can be done in 2 insns or less Inline constants if it can be done in 2 insns or less.
mlittle-endian mlittle-endian
Target RejectNegative Report Mask(LITTLE_END) Target RejectNegative Report Mask(LITTLE_END)
Generate little-endian code Generate little-endian code.
; Not used by the compiler proper. ; Not used by the compiler proper.
mno-lsim mno-lsim
Target RejectNegative Target RejectNegative
Assume that run-time support has been provided, so omit -lsim from the linker command line Assume that run-time support has been provided, so omit -lsim from the linker command line.
mrelax-immediates mrelax-immediates
Target Report Mask(RELAX_IMM) Target Report Mask(RELAX_IMM)
Use arbitrary sized immediates in bit operations Use arbitrary sized immediates in bit operations.
mslow-bytes mslow-bytes
Target Report Mask(SLOW_BYTES) Target Report Mask(SLOW_BYTES)
Prefer word accesses over byte accesses Prefer word accesses over byte accesses.
; Maximum size we are allowed to grow the stack in a single operation. ; Maximum size we are allowed to grow the stack in a single operation.
; If we want more, we must do it in increments of at most this size. ; If we want more, we must do it in increments of at most this size.
; If this value is 0, we don't check at all. ; If this value is 0, we don't check at all.
mstack-increment= mstack-increment=
Target RejectNegative Joined UInteger Var(mcore_stack_increment) Init(STACK_UNITS_MAXSTEP) Target RejectNegative Joined UInteger Var(mcore_stack_increment) Init(STACK_UNITS_MAXSTEP)
Set the maximum amount for a single stack increment operation Set the maximum amount for a single stack increment operation.
mwide-bitfields mwide-bitfields
Target Report Mask(W_FIELD) Target Report Mask(W_FIELD)
Always treat bitfields as int-sized Always treat bitfields as int-sized.
...@@ -20,139 +20,139 @@ Mask(IVC2) ...@@ -20,139 +20,139 @@ Mask(IVC2)
mabsdiff mabsdiff
Target Mask(OPT_ABSDIFF) Target Mask(OPT_ABSDIFF)
Enable absolute difference instructions Enable absolute difference instructions.
mall-opts mall-opts
Target RejectNegative Target RejectNegative
Enable all optional instructions Enable all optional instructions.
maverage maverage
Target Mask(OPT_AVERAGE) Target Mask(OPT_AVERAGE)
Enable average instructions Enable average instructions.
mbased= mbased=
Target Joined Var(mep_based_cutoff) RejectNegative UInteger Init(0) Target Joined Var(mep_based_cutoff) RejectNegative UInteger Init(0)
Variables this size and smaller go in the based section. (default 0) Variables this size and smaller go in the based section. (default 0).
mbitops mbitops
Target Mask(OPT_BITOPS) Target Mask(OPT_BITOPS)
Enable bit manipulation instructions Enable bit manipulation instructions.
mc= mc=
Target Joined Var(mep_const_section) RejectNegative Target Joined Var(mep_const_section) RejectNegative
Section to put all const variables in (tiny, near, far) (no default) Section to put all const variables in (tiny, near, far) (no default).
mclip mclip
Target Mask(OPT_CLIP) Target Mask(OPT_CLIP)
Enable clip instructions Enable clip instructions.
mconfig= mconfig=
Target Joined Var(mep_config_string) RejectNegative Target Joined Var(mep_config_string) RejectNegative
Configuration name Configuration name.
mcop mcop
Target Mask(COP) Target Mask(COP)
Enable MeP Coprocessor Enable MeP Coprocessor.
mcop32 mcop32
Target Mask(COP) RejectNegative Target Mask(COP) RejectNegative
Enable MeP Coprocessor with 32-bit registers Enable MeP Coprocessor with 32-bit registers.
mcop64 mcop64
Target Mask(64BIT_CR_REGS) RejectNegative Target Mask(64BIT_CR_REGS) RejectNegative
Enable MeP Coprocessor with 64-bit registers Enable MeP Coprocessor with 64-bit registers.
mivc2 mivc2
Target RejectNegative Var(mep_deferred_options) Defer Target RejectNegative Var(mep_deferred_options) Defer
Enable IVC2 scheduling Enable IVC2 scheduling.
mdc mdc
Target Mask(DC) RejectNegative Target Mask(DC) RejectNegative
Const variables default to the near section Const variables default to the near section.
mdebug mdebug
Target Disabled Undocumented Target Disabled Undocumented
mdiv mdiv
Target Mask(OPT_DIV) Target Mask(OPT_DIV)
Enable 32-bit divide instructions Enable 32-bit divide instructions.
meb meb
Target InverseMask(LITTLE_ENDIAN) RejectNegative Target InverseMask(LITTLE_ENDIAN) RejectNegative
Use big-endian byte order Use big-endian byte order.
mel mel
Target Mask(LITTLE_ENDIAN) RejectNegative Target Mask(LITTLE_ENDIAN) RejectNegative
Use little-endian byte order Use little-endian byte order.
mfar mfar
Driver RejectNegative Driver RejectNegative
mio-volatile mio-volatile
Target Mask(IO_VOLATILE) Target Mask(IO_VOLATILE)
__io vars are volatile by default __io vars are volatile by default.
ml ml
Target Mask(L) RejectNegative Target Mask(L) RejectNegative
All variables default to the far section All variables default to the far section.
mleadz mleadz
Target Mask(OPT_LEADZ) Target Mask(OPT_LEADZ)
Enable leading zero instructions Enable leading zero instructions.
mlibrary mlibrary
Target Mask(LIBRARY) RejectNegative Undocumented Target Mask(LIBRARY) RejectNegative Undocumented
mm mm
Target Mask(M) RejectNegative Target Mask(M) RejectNegative
All variables default to the near section All variables default to the near section.
mminmax mminmax
Target Mask(OPT_MINMAX) Target Mask(OPT_MINMAX)
Enable min/max instructions Enable min/max instructions.
mmult mmult
Target Mask(OPT_MULT) Target Mask(OPT_MULT)
Enable 32-bit multiply instructions Enable 32-bit multiply instructions.
mno-opts mno-opts
Target RejectNegative Target RejectNegative
Disable all optional instructions Disable all optional instructions.
mrand-tpgp mrand-tpgp
Target Mask(RAND_TPGP) RejectNegative Undocumented Target Mask(RAND_TPGP) RejectNegative Undocumented
mrepeat mrepeat
Target Mask(OPT_REPEAT) Target Mask(OPT_REPEAT)
Allow gcc to use the repeat/erepeat instructions Allow gcc to use the repeat/erepeat instructions.
ms ms
Target Mask(S) RejectNegative Target Mask(S) RejectNegative
All variables default to the tiny section All variables default to the tiny section.
msatur msatur
Target Mask(OPT_SATUR) Target Mask(OPT_SATUR)
Enable saturation instructions Enable saturation instructions.
msdram msdram
Target Target
Use sdram version of runtime Use sdram version of runtime.
msim msim
Target RejectNegative Target RejectNegative
Use simulator runtime Use simulator runtime.
msimnovec msimnovec
Target RejectNegative Target RejectNegative
Use simulator runtime without vectors Use simulator runtime without vectors.
mtf mtf
Target Mask(TF) RejectNegative Target Mask(TF) RejectNegative
All functions default to the far section All functions default to the far section.
mtiny= mtiny=
Target Joined Var(mep_tiny_cutoff) RejectNegative UInteger Init(4) Target Joined Var(mep_tiny_cutoff) RejectNegative UInteger Init(4)
Variables this size and smaller go in the tiny section. (default 4) Variables this size and smaller go in the tiny section. (default 4).
mvl32 mvl32
Target InverseMask(OPT_VL64) Undocumented RejectNegative Target InverseMask(OPT_VL64) Undocumented RejectNegative
......
...@@ -37,91 +37,91 @@ Driver ...@@ -37,91 +37,91 @@ Driver
msoft-float msoft-float
Target Report RejectNegative Mask(SOFT_FLOAT) Target Report RejectNegative Mask(SOFT_FLOAT)
Use software emulation for floating point (default) Use software emulation for floating point (default).
mhard-float mhard-float
Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT) Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
Use hardware floating point instructions Use hardware floating point instructions.
msmall-divides msmall-divides
Target Mask(SMALL_DIVIDES) Target Mask(SMALL_DIVIDES)
Use table lookup optimization for small signed integer divisions Use table lookup optimization for small signed integer divisions.
mcpu= mcpu=
Target RejectNegative Joined Var(microblaze_select_cpu) Target RejectNegative Joined Var(microblaze_select_cpu)
-mcpu=PROCESSOR Use features of and schedule code for given CPU -mcpu=PROCESSOR Use features of and schedule code for given CPU.
mmemcpy mmemcpy
Target Mask(MEMCPY) Target Mask(MEMCPY)
Don't optimize block moves, use memcpy Don't optimize block moves, use memcpy.
mbig-endian mbig-endian
Target Report RejectNegative InverseMask(LITTLE_ENDIAN) Target Report RejectNegative InverseMask(LITTLE_ENDIAN)
Assume target CPU is configured as big endian Assume target CPU is configured as big endian.
mlittle-endian mlittle-endian
Target Report RejectNegative Mask(LITTLE_ENDIAN) Target Report RejectNegative Mask(LITTLE_ENDIAN)
Assume target CPU is configured as little endian Assume target CPU is configured as little endian.
mxl-soft-mul mxl-soft-mul
Target Mask(SOFT_MUL) Target Mask(SOFT_MUL)
Use the soft multiply emulation (default) Use the soft multiply emulation (default).
mxl-reorder mxl-reorder
Target Var(TARGET_REORDER) Init(2) Target Var(TARGET_REORDER) Init(2)
Use reorder instructions (swap and byte reversed load/store) (default) Use reorder instructions (swap and byte reversed load/store) (default).
mxl-soft-div mxl-soft-div
Target Mask(SOFT_DIV) Target Mask(SOFT_DIV)
Use the software emulation for divides (default) Use the software emulation for divides (default).
mxl-barrel-shift mxl-barrel-shift
Target Mask(BARREL_SHIFT) Target Mask(BARREL_SHIFT)
Use the hardware barrel shifter instead of emulation Use the hardware barrel shifter instead of emulation.
mxl-pattern-compare mxl-pattern-compare
Target Mask(PATTERN_COMPARE) Target Mask(PATTERN_COMPARE)
Use pattern compare instructions Use pattern compare instructions.
mxl-stack-check mxl-stack-check
Target Mask(STACK_CHECK) Warn(%qs is deprecated; use -fstack-check) Target Mask(STACK_CHECK) Warn(%qs is deprecated; use -fstack-check)
Check for stack overflow at runtime Check for stack overflow at runtime.
mxl-gp-opt mxl-gp-opt
Target Mask(XLGPOPT) Target Mask(XLGPOPT)
Use GP relative sdata/sbss sections Use GP relative sdata/sbss sections.
mno-clearbss mno-clearbss
Target RejectNegative Var(flag_zero_initialized_in_bss, 0) Warn(%qs is deprecated; use -fno-zero-initialized-in-bss) Target RejectNegative Var(flag_zero_initialized_in_bss, 0) Warn(%qs is deprecated; use -fno-zero-initialized-in-bss)
Clear the BSS to zero and place zero initialized in BSS Clear the BSS to zero and place zero initialized in BSS.
mxl-multiply-high mxl-multiply-high
Target Mask(MULTIPLY_HIGH) Target Mask(MULTIPLY_HIGH)
Use multiply high instructions for high part of 32x32 multiply Use multiply high instructions for high part of 32x32 multiply.
mxl-float-convert mxl-float-convert
Target Mask(FLOAT_CONVERT) Target Mask(FLOAT_CONVERT)
Use hardware floating point conversion instructions Use hardware floating point conversion instructions.
mxl-float-sqrt mxl-float-sqrt
Target Mask(FLOAT_SQRT) Target Mask(FLOAT_SQRT)
Use hardware floating point square root instruction Use hardware floating point square root instruction.
mxl-mode-executable mxl-mode-executable
Target Mask(XL_MODE_EXECUTABLE) Target Mask(XL_MODE_EXECUTABLE)
Description for mxl-mode-executable Description for mxl-mode-executable.
mxl-mode-xmdstub mxl-mode-xmdstub
Target Mask(XL_MODE_XMDSTUB) Target Mask(XL_MODE_XMDSTUB)
Description for mxl-mode-xmdstub Description for mxl-mode-xmdstub.
mxl-mode-bootstrap mxl-mode-bootstrap
Target Mask(XL_MODE_BOOTSTRAP) Target Mask(XL_MODE_BOOTSTRAP)
Description for mxl-mode-bootstrap Description for mxl-mode-bootstrap.
mxl-mode-novectors mxl-mode-novectors
Target Mask(XL_MODE_NOVECTORS) Target Mask(XL_MODE_NOVECTORS)
Description for mxl-mode-novectors Description for mxl-mode-novectors.
mxl-mode-xilkernel mxl-mode-xilkernel
Target Target
...@@ -21,48 +21,48 @@ ...@@ -21,48 +21,48 @@
; FIXME: Get rid of this one. ; FIXME: Get rid of this one.
mlibfuncs mlibfuncs
Target Report Mask(LIBFUNC) Target Report Mask(LIBFUNC)
For intrinsics library: pass all parameters in registers For intrinsics library: pass all parameters in registers.
mabi=mmixware mabi=mmixware
Target Report RejectNegative InverseMask(ABI_GNU) Target Report RejectNegative InverseMask(ABI_GNU)
Use register stack for parameters and return value Use register stack for parameters and return value.
mabi=gnu mabi=gnu
Target Report RejectNegative Mask(ABI_GNU) Target Report RejectNegative Mask(ABI_GNU)
Use call-clobbered registers for parameters and return value Use call-clobbered registers for parameters and return value.
; FIXME: Provide a way to *load* the epsilon register. ; FIXME: Provide a way to *load* the epsilon register.
mepsilon mepsilon
Target Report Mask(FCMP_EPSILON) Target Report Mask(FCMP_EPSILON)
Use epsilon-respecting floating point compare instructions Use epsilon-respecting floating point compare instructions.
mzero-extend mzero-extend
Target Report Mask(ZERO_EXTEND) Target Report Mask(ZERO_EXTEND)
Use zero-extending memory loads, not sign-extending ones Use zero-extending memory loads, not sign-extending ones.
mknuthdiv mknuthdiv
Target Report Mask(KNUTH_DIVISION) Target Report Mask(KNUTH_DIVISION)
Generate divide results with reminder having the same sign as the divisor (not the dividend) Generate divide results with reminder having the same sign as the divisor (not the dividend).
mtoplevel-symbols mtoplevel-symbols
Target Report Mask(TOPLEVEL_SYMBOLS) Target Report Mask(TOPLEVEL_SYMBOLS)
Prepend global symbols with \":\" (for use with PREFIX) Prepend global symbols with \":\" (for use with PREFIX).
mno-set-program-start mno-set-program-start
Target Report RejectNegative Target Report RejectNegative
Do not provide a default start-address 0x100 of the program Do not provide a default start-address 0x100 of the program.
melf melf
Target Report RejectNegative Target Report RejectNegative
Link to emit program in ELF format (rather than mmo) Link to emit program in ELF format (rather than mmo).
mbranch-predict mbranch-predict
Target Report RejectNegative Mask(BRANCH_PREDICT) Target Report RejectNegative Mask(BRANCH_PREDICT)
Use P-mnemonics for branches statically predicted as taken Use P-mnemonics for branches statically predicted as taken.
mno-branch-predict mno-branch-predict
Target Report RejectNegative InverseMask(BRANCH_PREDICT) Target Report RejectNegative InverseMask(BRANCH_PREDICT)
Don't use P-mnemonics for branches Don't use P-mnemonics for branches.
; We use the term "base address" since that's what Knuth uses. The base ; We use the term "base address" since that's what Knuth uses. The base
; address goes in a global register. When addressing, it's more like ; address goes in a global register. When addressing, it's more like
...@@ -76,24 +76,24 @@ Don't use P-mnemonics for branches ...@@ -76,24 +76,24 @@ Don't use P-mnemonics for branches
; should have compiled with -mno-base-addresses. ; should have compiled with -mno-base-addresses.
mbase-addresses mbase-addresses
Target Report RejectNegative Mask(BASE_ADDRESSES) Target Report RejectNegative Mask(BASE_ADDRESSES)
Use addresses that allocate global registers Use addresses that allocate global registers.
mno-base-addresses mno-base-addresses
Target Report RejectNegative InverseMask(BASE_ADDRESSES) Target Report RejectNegative InverseMask(BASE_ADDRESSES)
Do not use addresses that allocate global registers Do not use addresses that allocate global registers.
msingle-exit msingle-exit
Target Report RejectNegative InverseMask(USE_RETURN_INSN) Target Report RejectNegative InverseMask(USE_RETURN_INSN)
Generate a single exit point for each function Generate a single exit point for each function.
mno-single-exit mno-single-exit
Target Report RejectNegative Mask(USE_RETURN_INSN) Target Report RejectNegative Mask(USE_RETURN_INSN)
Do not generate a single exit point for each function Do not generate a single exit point for each function.
mset-program-start= mset-program-start=
Target Report RejectNegative Joined Target Report RejectNegative Joined
Set start-address of the program Set start-address of the program.
mset-data-start= mset-data-start=
Target Report RejectNegative Joined Target Report RejectNegative Joined
Set start-address of data Set start-address of data.
...@@ -27,23 +27,23 @@ enum processor_type mn10300_processor = PROCESSOR_DEFAULT ...@@ -27,23 +27,23 @@ enum processor_type mn10300_processor = PROCESSOR_DEFAULT
mam33 mam33
Target Target
Target the AM33 processor Target the AM33 processor.
mam33-2 mam33-2
Target Target
Target the AM33/2.0 processor Target the AM33/2.0 processor.
mam34 mam34
Target Report Target Report
Target the AM34 processor Target the AM34 processor.
mtune= mtune=
Target RejectNegative Joined Var(mn10300_tune_string) Target RejectNegative Joined Var(mn10300_tune_string)
Tune code for the given processor Tune code for the given processor.
mmult-bug mmult-bug
Target Report Mask(MULT_BUG) Target Report Mask(MULT_BUG)
Work around hardware multiply bug Work around hardware multiply bug.
; Ignored by the compiler ; Ignored by the compiler
mno-crt0 mno-crt0
...@@ -52,16 +52,16 @@ Target RejectNegative ...@@ -52,16 +52,16 @@ Target RejectNegative
; Ignored by the compiler ; Ignored by the compiler
mrelax mrelax
Target RejectNegative Target RejectNegative
Enable linker relaxations Enable linker relaxations.
mreturn-pointer-on-d0 mreturn-pointer-on-d0
Target Report Mask(PTR_A0D0) Target Report Mask(PTR_A0D0)
Return pointers in both a0 and d0 Return pointers in both a0 and d0.
mliw mliw
Target Report Mask(ALLOW_LIW) Target Report Mask(ALLOW_LIW)
Allow gcc to generate LIW instructions Allow gcc to generate LIW instructions.
msetlb msetlb
Target Report Mask(ALLOW_SETLB) Target Report Mask(ALLOW_SETLB)
Allow gcc to generate the SETLB and Lcc instructions Allow gcc to generate the SETLB and Lcc instructions.
...@@ -20,15 +20,15 @@ ...@@ -20,15 +20,15 @@
meb meb
Target RejectNegative Report InverseMask(LITTLE_ENDIAN) Target RejectNegative Report InverseMask(LITTLE_ENDIAN)
Generate big-endian code Generate big-endian code.
mel mel
Target RejectNegative Report Mask(LITTLE_ENDIAN) Target RejectNegative Report Mask(LITTLE_ENDIAN)
Generate little-endian code Generate little-endian code.
mmul.x mmul.x
Target Report Mask(HAS_MULX) Target Report Mask(HAS_MULX)
Enable MUL.X and UMUL.X instructions Enable MUL.X and UMUL.X instructions.
; Ignored by the compiler ; Ignored by the compiler
mno-crt0 mno-crt0
......
msim msim
Target Target
Use simulator runtime Use simulator runtime.
masm-hex masm-hex
Target Mask(ASM_HEX) Target Mask(ASM_HEX)
Force assembly output to always use hex constants Force assembly output to always use hex constants.
mmcu= mmcu=
Target Report ToLower Joined RejectNegative Var(target_mcu) Target Report ToLower Joined RejectNegative Var(target_mcu)
...@@ -12,19 +12,19 @@ Specify the MCU to build for. ...@@ -12,19 +12,19 @@ Specify the MCU to build for.
mcpu= mcpu=
Target Report Joined RejectNegative Var(target_cpu) Target Report Joined RejectNegative Var(target_cpu)
Specify the ISA to build for: msp430, msp430x, msp430xv2 Specify the ISA to build for: msp430, msp430x, msp430xv2.
mlarge mlarge
Target Report Mask(LARGE) RejectNegative Target Report Mask(LARGE) RejectNegative
Select large model - 20-bit addresses/pointers Select large model - 20-bit addresses/pointers.
msmall msmall
Target Report InverseMask(LARGE) RejectNegative Target Report InverseMask(LARGE) RejectNegative
Select small model - 16-bit addresses/pointers (default) Select small model - 16-bit addresses/pointers (default).
mrelax mrelax
Target Report Target Report
Optimize opcode sizes at link time Optimize opcode sizes at link time.
mOs mOs
Target Undocumented Mask(OPT_SPACE) Target Undocumented Mask(OPT_SPACE)
...@@ -38,7 +38,7 @@ config/msp430/msp430-opts.h ...@@ -38,7 +38,7 @@ config/msp430/msp430-opts.h
mhwmult= mhwmult=
Target Joined RejectNegative Report ToLower Var(msp430_hwmult_type) Enum(msp430_hwmult_types) Init(AUTO) Target Joined RejectNegative Report ToLower Var(msp430_hwmult_type) Enum(msp430_hwmult_types) Init(AUTO)
Specify the type of hardware multiply to support Specify the type of hardware multiply to support.
Enum Enum
Name(msp430_hwmult_types) Type(enum msp430_hwmult_types) Name(msp430_hwmult_types) Type(enum msp430_hwmult_types)
...@@ -60,11 +60,11 @@ Enum(msp430_hwmult_types) String(f5series) Value(F5SERIES) ...@@ -60,11 +60,11 @@ Enum(msp430_hwmult_types) String(f5series) Value(F5SERIES)
mcode-region= mcode-region=
Target Joined RejectNegative Report ToLower Var(msp430_code_region) Enum(msp430_regions) Init(ANY) Target Joined RejectNegative Report ToLower Var(msp430_code_region) Enum(msp430_regions) Init(ANY)
Specify whether functions should be placed into low or high memory Specify whether functions should be placed into low or high memory.
mdata-region= mdata-region=
Target Joined RejectNegative Report ToLower Var(msp430_data_region) Enum(msp430_regions) Init(ANY) Target Joined RejectNegative Report ToLower Var(msp430_data_region) Enum(msp430_regions) Init(ANY)
Specify whether variables should be placed into low or high memory Specify whether variables should be placed into low or high memory.
Enum Enum
Name(msp430_regions) Type(enum msp430_regions) Name(msp430_regions) Type(enum msp430_regions)
......
...@@ -23,16 +23,16 @@ ...@@ -23,16 +23,16 @@
msmallc msmallc
Target Report RejectNegative Target Report RejectNegative
Link with a limited version of the C library Link with a limited version of the C library.
msys-lib= msys-lib=
Target RejectNegative Joined Var(nios2_sys_lib_string) Target RejectNegative Joined Var(nios2_sys_lib_string)
Name of system library to link against Name of system library to link against.
msys-crt0= msys-crt0=
Target RejectNegative Joined Var(nios2_sys_crt0_string) Target RejectNegative Joined Var(nios2_sys_crt0_string)
Name of the startfile Name of the startfile.
mhal mhal
Target Report RejectNegative Target Report RejectNegative
Link with HAL BSP Link with HAL BSP.
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
m32 m32
Target Report RejectNegative InverseMask(ABI64) Target Report RejectNegative InverseMask(ABI64)
Generate code for a 32-bit ABI Generate code for a 32-bit ABI.
m64 m64
Target Report RejectNegative Mask(ABI64) Target Report RejectNegative Mask(ABI64)
Generate code for a 64-bit ABI Generate code for a 64-bit ABI.
mmainkernel mmainkernel
Target Report RejectNegative Target Report RejectNegative
......
...@@ -24,15 +24,15 @@ int flag_pa_unix = TARGET_HPUX_11_31 ? 2003 : TARGET_HPUX_11_11 ? 1998 : TARGET_ ...@@ -24,15 +24,15 @@ int flag_pa_unix = TARGET_HPUX_11_31 ? 2003 : TARGET_HPUX_11_11 ? 1998 : TARGET_
msio msio
Target RejectNegative Mask(SIO) Target RejectNegative Mask(SIO)
Generate cpp defines for server IO Generate cpp defines for server IO.
munix=93 munix=93
Target RejectNegative Var(flag_pa_unix, 1993) Target RejectNegative Var(flag_pa_unix, 1993)
Specify UNIX standard for predefines and linking Specify UNIX standard for predefines and linking.
mwsio mwsio
Target RejectNegative InverseMask(SIO) Target RejectNegative InverseMask(SIO)
Generate cpp defines for workstation IO Generate cpp defines for workstation IO.
nolibdld nolibdld
Driver Driver
......
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
munix=95 munix=95
Target RejectNegative Var(flag_pa_unix, 1995) Target RejectNegative Var(flag_pa_unix, 1995)
Specify UNIX standard for predefines and linking Specify UNIX standard for predefines and linking.
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
munix=98 munix=98
Target RejectNegative Var(flag_pa_unix, 1998) Target RejectNegative Var(flag_pa_unix, 1998)
Specify UNIX standard for predefines and linking Specify UNIX standard for predefines and linking.
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
munix=2003 munix=2003
Target RejectNegative Var(flag_pa_unix, 2003) Target RejectNegative Var(flag_pa_unix, 2003)
Specify UNIX standard for predefines and linking Specify UNIX standard for predefines and linking.
...@@ -27,15 +27,15 @@ enum processor_type pa_cpu = TARGET_SCHED_DEFAULT ...@@ -27,15 +27,15 @@ enum processor_type pa_cpu = TARGET_SCHED_DEFAULT
march=1.0 march=1.0
Target RejectNegative Target RejectNegative
Generate PA1.0 code Generate PA1.0 code.
march=1.1 march=1.1
Target RejectNegative Target RejectNegative
Generate PA1.1 code Generate PA1.1 code.
march=2.0 march=2.0
Target RejectNegative Target RejectNegative
Generate PA2.0 code (requires binutils 2.10 or later) Generate PA2.0 code (requires binutils 2.10 or later).
mbig-switch mbig-switch
Target Ignore Target Ignore
...@@ -43,23 +43,23 @@ Does nothing. Preserved for backward compatibility. ...@@ -43,23 +43,23 @@ Does nothing. Preserved for backward compatibility.
mdisable-fpregs mdisable-fpregs
Target Report Mask(DISABLE_FPREGS) Target Report Mask(DISABLE_FPREGS)
Disable FP regs Disable FP regs.
mdisable-indexing mdisable-indexing
Target Report Mask(DISABLE_INDEXING) Target Report Mask(DISABLE_INDEXING)
Disable indexed addressing Disable indexed addressing.
mfast-indirect-calls mfast-indirect-calls
Target Report Mask(FAST_INDIRECT_CALLS) Target Report Mask(FAST_INDIRECT_CALLS)
Generate fast indirect calls Generate fast indirect calls.
mfixed-range= mfixed-range=
Target RejectNegative Joined Var(pa_deferred_options) Defer Target RejectNegative Joined Var(pa_deferred_options) Defer
Specify range of registers to make fixed Specify range of registers to make fixed.
mgas mgas
Target Report Mask(GAS) Target Report Mask(GAS)
Assume code will be assembled by GAS Assume code will be assembled by GAS.
mjump-in-delay mjump-in-delay
Target Ignore Target Ignore
...@@ -68,43 +68,43 @@ Does nothing. Preserved for backward compatibility. ...@@ -68,43 +68,43 @@ Does nothing. Preserved for backward compatibility.
;; Not used by gcc ;; Not used by gcc
mlinker-opt mlinker-opt
Target RejectNegative Target RejectNegative
Enable linker optimizations Enable linker optimizations.
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Always generate long calls Always generate long calls.
mlong-load-store mlong-load-store
Target Report Mask(LONG_LOAD_STORE) Target Report Mask(LONG_LOAD_STORE)
Emit long load/store sequences Emit long load/store sequences.
mnosnake mnosnake
Target RejectNegative Target RejectNegative
Generate PA1.0 code Generate PA1.0 code.
mno-space-regs mno-space-regs
Target RejectNegative Report Mask(NO_SPACE_REGS) Target RejectNegative Report Mask(NO_SPACE_REGS)
Disable space regs Disable space regs.
mpa-risc-1-0 mpa-risc-1-0
Target RejectNegative Target RejectNegative
Generate PA1.0 code Generate PA1.0 code.
mpa-risc-1-1 mpa-risc-1-1
Target RejectNegative Mask(PA_11) Target RejectNegative Mask(PA_11)
Generate PA1.1 code Generate PA1.1 code.
mpa-risc-2-0 mpa-risc-2-0
Target RejectNegative Mask(PA_20) Target RejectNegative Mask(PA_20)
Generate PA2.0 code (requires binutils 2.10 or later) Generate PA2.0 code (requires binutils 2.10 or later).
mportable-runtime mportable-runtime
Target Report Mask(PORTABLE_RUNTIME) Target Report Mask(PORTABLE_RUNTIME)
Use portable calling conventions Use portable calling conventions.
mschedule= mschedule=
Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu) Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu)
Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000 Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000.
Enum Enum
Name(pa_schedule) Type(enum processor_type) Name(pa_schedule) Type(enum processor_type)
...@@ -129,12 +129,12 @@ Enum(pa_schedule) String(7300) Value(PROCESSOR_7300) ...@@ -129,12 +129,12 @@ Enum(pa_schedule) String(7300) Value(PROCESSOR_7300)
msoft-float msoft-float
Target Report Mask(SOFT_FLOAT) Target Report Mask(SOFT_FLOAT)
Use software floating point Use software floating point.
msnake msnake
Target RejectNegative Target RejectNegative
Generate PA1.1 code Generate PA1.1 code.
mspace-regs mspace-regs
Target RejectNegative Report InverseMask(NO_SPACE_REGS) Target RejectNegative Report InverseMask(NO_SPACE_REGS)
Do not disable space regs Do not disable space regs.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
mgnu-ld mgnu-ld
Target RejectNegative Mask(GNU_LD) Target RejectNegative Mask(GNU_LD)
Assume code will be linked by GNU ld Assume code will be linked by GNU ld.
mhp-ld mhp-ld
Target RejectNegative InverseMask(GNU_LD) Target RejectNegative InverseMask(GNU_LD)
Assume code will be linked by HP ld Assume code will be linked by HP ld.
...@@ -20,68 +20,68 @@ ...@@ -20,68 +20,68 @@
m10 m10
Target RejectNegative Target RejectNegative
Generate code for an 11/10 Generate code for an 11/10.
m40 m40
Target Report Mask(40) Target Report Mask(40)
Generate code for an 11/40 Generate code for an 11/40.
m45 m45
Target Report Mask(45) Target Report Mask(45)
Generate code for an 11/45 Generate code for an 11/45.
mac0 mac0
Target Report Mask(AC0) Target Report Mask(AC0)
Return floating-point results in ac0 (fr0 in Unix assembler syntax) Return floating-point results in ac0 (fr0 in Unix assembler syntax).
mbcopy mbcopy
Target RejectNegative Report Mask(BCOPY) Target RejectNegative Report Mask(BCOPY)
Do not use inline patterns for copying memory Do not use inline patterns for copying memory.
mbcopy-builtin mbcopy-builtin
Target RejectNegative Report InverseMask(BCOPY, BCOPY_BUILTIN) Target RejectNegative Report InverseMask(BCOPY, BCOPY_BUILTIN)
Use inline patterns for copying memory Use inline patterns for copying memory.
mbranch-cheap mbranch-cheap
Target RejectNegative Report InverseMask(BRANCH_EXPENSIVE, BRANCH_CHEAP) Target RejectNegative Report InverseMask(BRANCH_EXPENSIVE, BRANCH_CHEAP)
Do not pretend that branches are expensive Do not pretend that branches are expensive.
mbranch-expensive mbranch-expensive
Target RejectNegative Report Mask(BRANCH_EXPENSIVE) Target RejectNegative Report Mask(BRANCH_EXPENSIVE)
Pretend that branches are expensive Pretend that branches are expensive.
mdec-asm mdec-asm
Target RejectNegative Report InverseMask(UNIX_ASM) Target RejectNegative Report InverseMask(UNIX_ASM)
Use the DEC assembler syntax Use the DEC assembler syntax.
mfloat32 mfloat32
Target Report Mask(FLOAT32) Target Report Mask(FLOAT32)
Use 32 bit float Use 32 bit float.
mfloat64 mfloat64
Target Report InverseMask(FLOAT32, FLOAT64) Target Report InverseMask(FLOAT32, FLOAT64)
Use 64 bit float Use 64 bit float.
mfpu mfpu
Target RejectNegative Report Mask(FPU) Target RejectNegative Report Mask(FPU)
Use hardware floating point Use hardware floating point.
mint16 mint16
Target Report InverseMask(INT32, INT16) Target Report InverseMask(INT32, INT16)
Use 16 bit int Use 16 bit int.
mint32 mint32
Target Report Mask(INT32) Target Report Mask(INT32)
Use 32 bit int Use 32 bit int.
msoft-float msoft-float
Target RejectNegative Report InverseMask(FPU, SOFT_FLOAT) Target RejectNegative Report InverseMask(FPU, SOFT_FLOAT)
Do not use hardware floating point Do not use hardware floating point.
msplit msplit
Target Report Mask(SPLIT) Target Report Mask(SPLIT)
Target has split I&D Target has split I&D.
munix-asm munix-asm
Target RejectNegative Report Mask(UNIX_ASM) Target RejectNegative Report Mask(UNIX_ASM)
Use UNIX assembler syntax Use UNIX assembler syntax.
...@@ -74,19 +74,19 @@ Enum(rl78_cpu_types) String(rl78) Value(CPU_G14) ...@@ -74,19 +74,19 @@ Enum(rl78_cpu_types) String(rl78) Value(CPU_G14)
mg10 mg10
Target RejectNegative Report Alias(mcpu=, g10) Target RejectNegative Report Alias(mcpu=, g10)
Alias for -mcpu=g10 Alias for -mcpu=g10.
mg13 mg13
Target RejectNegative Report Alias(mcpu=, g13) Target RejectNegative Report Alias(mcpu=, g13)
Alias for -mcpu=g13 Alias for -mcpu=g13.
mg14 mg14
Target RejectNegative Report Alias(mcpu=, g14) Target RejectNegative Report Alias(mcpu=, g14)
Alias for -mcpu=g14 Alias for -mcpu=g14.
mrl78 mrl78
Target RejectNegative Report Alias(mcpu=, g14) Target RejectNegative Report Alias(mcpu=, g14)
Alias for -mcpu=g14 Alias for -mcpu=g14.
mes0 mes0
Target Mask(ES0) Target Mask(ES0)
......
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
mpreserve-link-stack mpreserve-link-stack
Target Var(rs6000_link_stack) Init(-1) Save Target Var(rs6000_link_stack) Init(-1) Save
Preserve the PowerPC 476's link stack by matching up a blr with the bcl/bl insns used for GOT accesses Preserve the PowerPC 476's link stack by matching up a blr with the bcl/bl insns used for GOT accesses.
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
maix64 maix64
Target Report RejectNegative Negative(maix32) Mask(64BIT) Var(rs6000_isa_flags) Target Report RejectNegative Negative(maix32) Mask(64BIT) Var(rs6000_isa_flags)
Compile for 64-bit pointers Compile for 64-bit pointers.
maix32 maix32
Target Report RejectNegative Negative(maix64) InverseMask(64BIT) Var(rs6000_isa_flags) Target Report RejectNegative Negative(maix64) InverseMask(64BIT) Var(rs6000_isa_flags)
Compile for 32-bit pointers Compile for 32-bit pointers.
mcmodel= mcmodel=
Target RejectNegative Joined Enum(rs6000_cmodel) Var(rs6000_current_cmodel) Target RejectNegative Joined Enum(rs6000_cmodel) Var(rs6000_current_cmodel)
Select code model Select code model.
Enum Enum
Name(rs6000_cmodel) Type(enum rs6000_cmodel) Name(rs6000_cmodel) Type(enum rs6000_cmodel)
...@@ -46,7 +46,7 @@ Enum(rs6000_cmodel) String(large) Value(CMODEL_LARGE) ...@@ -46,7 +46,7 @@ Enum(rs6000_cmodel) String(large) Value(CMODEL_LARGE)
mpe mpe
Target Report RejectNegative Var(internal_nothing_1) Save Target Report RejectNegative Var(internal_nothing_1) Save
Support message passing with the Parallel Environment Support message passing with the Parallel Environment.
posix posix
Driver Driver
......
...@@ -35,8 +35,8 @@ Driver RejectNegative Alias(mfix-and-continue) ...@@ -35,8 +35,8 @@ Driver RejectNegative Alias(mfix-and-continue)
m64 m64
Target RejectNegative Negative(m32) Mask(64BIT) Var(rs6000_isa_flags) Target RejectNegative Negative(m32) Mask(64BIT) Var(rs6000_isa_flags)
Generate 64-bit code Generate 64-bit code.
m32 m32
Target RejectNegative Negative(m64) InverseMask(64BIT) Var(rs6000_isa_flags) Target RejectNegative Negative(m64) InverseMask(64BIT) Var(rs6000_isa_flags)
Generate 32-bit code Generate 32-bit code.
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
mprofile-kernel mprofile-kernel
Target Report Var(profile_kernel) Save Target Report Var(profile_kernel) Save
Call mcount for profiling before a function prologue Call mcount for profiling before a function prologue.
mcmodel= mcmodel=
Target RejectNegative Joined Enum(rs6000_cmodel) Var(rs6000_current_cmodel) Target RejectNegative Joined Enum(rs6000_cmodel) Var(rs6000_current_cmodel)
Select code model Select code model.
Enum Enum
Name(rs6000_cmodel) Type(enum rs6000_cmodel) Name(rs6000_cmodel) Type(enum rs6000_cmodel)
......
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
mcall- mcall-
Target RejectNegative Joined Var(rs6000_abi_name) Target RejectNegative Joined Var(rs6000_abi_name)
Select ABI calling convention Select ABI calling convention.
msdata= msdata=
Target RejectNegative Joined Var(rs6000_sdata_name) Target RejectNegative Joined Var(rs6000_sdata_name)
Select method for sdata handling Select method for sdata handling.
mtls-size= mtls-size=
Target RejectNegative Joined Var(rs6000_tls_size) Enum(rs6000_tls_size) Target RejectNegative Joined Var(rs6000_tls_size) Enum(rs6000_tls_size)
Specify bit size of immediate TLS offsets Specify bit size of immediate TLS offsets.
Enum Enum
Name(rs6000_tls_size) Type(int) Name(rs6000_tls_size) Type(int)
...@@ -45,113 +45,113 @@ Enum(rs6000_tls_size) String(64) Value(64) ...@@ -45,113 +45,113 @@ Enum(rs6000_tls_size) String(64) Value(64)
mbit-align mbit-align
Target Report Var(TARGET_NO_BITFIELD_TYPE) Save Target Report Var(TARGET_NO_BITFIELD_TYPE) Save
Align to the base type of the bit-field Align to the base type of the bit-field.
mstrict-align mstrict-align
Target Report Mask(STRICT_ALIGN) Var(rs6000_isa_flags) Target Report Mask(STRICT_ALIGN) Var(rs6000_isa_flags)
Align to the base type of the bit-field Align to the base type of the bit-field.
Don't assume that unaligned accesses are handled by the system Don't assume that unaligned accesses are handled by the system.
mrelocatable mrelocatable
Target Report Mask(RELOCATABLE) Var(rs6000_isa_flags) Target Report Mask(RELOCATABLE) Var(rs6000_isa_flags)
Produce code relocatable at runtime Produce code relocatable at runtime.
mrelocatable-lib mrelocatable-lib
Target Target
Produce code relocatable at runtime Produce code relocatable at runtime.
mlittle-endian mlittle-endian
Target Report RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags) Target Report RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags)
Produce little endian code Produce little endian code.
mlittle mlittle
Target Report RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags) Target Report RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags)
Produce little endian code Produce little endian code.
mbig-endian mbig-endian
Target Report RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags) Target Report RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags)
Produce big endian code Produce big endian code.
mbig mbig
Target Report RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags) Target Report RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags)
Produce big endian code Produce big endian code.
;; FIXME: This does nothing. What should be done? ;; FIXME: This does nothing. What should be done?
mno-toc mno-toc
Target RejectNegative Target RejectNegative
no description yet no description yet.
mtoc mtoc
Target RejectNegative Target RejectNegative
no description yet no description yet.
mprototype mprototype
Target Var(target_prototype) Save Target Var(target_prototype) Save
Assume all variable arg functions are prototyped Assume all variable arg functions are prototyped.
;; FIXME: Does nothing. ;; FIXME: Does nothing.
mno-traceback mno-traceback
Target RejectNegative Target RejectNegative
no description yet no description yet.
meabi meabi
Target Report Mask(EABI) Var(rs6000_isa_flags) Target Report Mask(EABI) Var(rs6000_isa_flags)
Use EABI Use EABI.
mbit-word mbit-word
Target Report Var(TARGET_NO_BITFIELD_WORD) Save Target Report Var(TARGET_NO_BITFIELD_WORD) Save
Allow bit-fields to cross word boundaries Allow bit-fields to cross word boundaries.
mregnames mregnames
Target Var(rs6000_regnames) Save Target Var(rs6000_regnames) Save
Use alternate register names Use alternate register names.
;; This option does nothing and only exists because the compiler ;; This option does nothing and only exists because the compiler
;; driver passes all -m* options through. ;; driver passes all -m* options through.
msdata msdata
Target Target
Use default method for sdata handling Use default method for sdata handling.
msim msim
Target RejectNegative Target RejectNegative
Link with libsim.a, libc.a and sim-crt0.o Link with libsim.a, libc.a and sim-crt0.o.
mads mads
Target RejectNegative Target RejectNegative
Link with libads.a, libc.a and crt0.o Link with libads.a, libc.a and crt0.o.
myellowknife myellowknife
Target RejectNegative Target RejectNegative
Link with libyk.a, libc.a and crt0.o Link with libyk.a, libc.a and crt0.o.
mmvme mmvme
Target RejectNegative Target RejectNegative
Link with libmvme.a, libc.a and crt0.o Link with libmvme.a, libc.a and crt0.o.
memb memb
Target RejectNegative Target RejectNegative
Set the PPC_EMB bit in the ELF flags header Set the PPC_EMB bit in the ELF flags header.
mshlib mshlib
Target RejectNegative Target RejectNegative
no description yet no description yet.
m64 m64
Target Report RejectNegative Negative(m32) Mask(64BIT) Var(rs6000_isa_flags) Target Report RejectNegative Negative(m32) Mask(64BIT) Var(rs6000_isa_flags)
Generate 64-bit code Generate 64-bit code.
m32 m32
Target Report RejectNegative Negative(m64) InverseMask(64BIT) Var(rs6000_isa_flags) Target Report RejectNegative Negative(m64) InverseMask(64BIT) Var(rs6000_isa_flags)
Generate 32-bit code Generate 32-bit code.
mnewlib mnewlib
Target RejectNegative Target RejectNegative
no description yet no description yet.
msecure-plt msecure-plt
Target Report RejectNegative Var(secure_plt, 1) Save Target Report RejectNegative Var(secure_plt, 1) Save
Generate code to use a non-exec PLT and GOT Generate code to use a non-exec PLT and GOT.
mbss-plt mbss-plt
Target Report RejectNegative Var(secure_plt, 0) Save Target Report RejectNegative Var(secure_plt, 0) Save
Generate code for old exec BSS PLT Generate code for old exec BSS PLT.
...@@ -36,15 +36,15 @@ HOST_WIDE_INT s390_warn_framesize = 0 ...@@ -36,15 +36,15 @@ HOST_WIDE_INT s390_warn_framesize = 0
m31 m31
Target Report RejectNegative Negative(m64) InverseMask(64BIT) Target Report RejectNegative Negative(m64) InverseMask(64BIT)
31 bit ABI 31 bit ABI.
m64 m64
Target Report RejectNegative Negative(m31) Mask(64BIT) Target Report RejectNegative Negative(m31) Mask(64BIT)
64 bit ABI 64 bit ABI.
march= march=
Target RejectNegative Joined Enum(processor_type) Var(s390_arch) Init(PROCESSOR_max) Target RejectNegative Joined Enum(processor_type) Var(s390_arch) Init(PROCESSOR_max)
Generate code for given CPU Generate code for given CPU.
Enum Enum
Name(processor_type) Type(enum processor_type) Name(processor_type) Type(enum processor_type)
...@@ -84,23 +84,23 @@ Enum(processor_type) String(native) Value(PROCESSOR_NATIVE) DriverOnly ...@@ -84,23 +84,23 @@ Enum(processor_type) String(native) Value(PROCESSOR_NATIVE) DriverOnly
mbackchain mbackchain
Target Report Mask(BACKCHAIN) Target Report Mask(BACKCHAIN)
Maintain backchain pointer Maintain backchain pointer.
mdebug mdebug
Target Report Mask(DEBUG_ARG) Target Report Mask(DEBUG_ARG)
Additional debug prints Additional debug prints.
mesa mesa
Target Report RejectNegative Negative(mzarch) InverseMask(ZARCH) Target Report RejectNegative Negative(mzarch) InverseMask(ZARCH)
ESA/390 architecture ESA/390 architecture.
mhard-dfp mhard-dfp
Target Report Mask(HARD_DFP) Target Report Mask(HARD_DFP)
Enable decimal floating point hardware support Enable decimal floating point hardware support.
mhard-float mhard-float
Target Report RejectNegative Negative(msoft-float) InverseMask(SOFT_FLOAT, HARD_FLOAT) Target Report RejectNegative Negative(msoft-float) InverseMask(SOFT_FLOAT, HARD_FLOAT)
Enable hardware floating point Enable hardware floating point.
mhotpatch= mhotpatch=
Target RejectNegative Report Joined Var(s390_deferred_options) Defer Target RejectNegative Report Joined Var(s390_deferred_options) Defer
...@@ -114,47 +114,47 @@ size. Using 0 for both values disables hotpatching. ...@@ -114,47 +114,47 @@ size. Using 0 for both values disables hotpatching.
mlong-double-128 mlong-double-128
Target Report RejectNegative Negative(mlong-double-64) Mask(LONG_DOUBLE_128) Target Report RejectNegative Negative(mlong-double-64) Mask(LONG_DOUBLE_128)
Use 128-bit long double Use 128-bit long double.
mlong-double-64 mlong-double-64
Target Report RejectNegative Negative(mlong-double-128) InverseMask(LONG_DOUBLE_128) Target Report RejectNegative Negative(mlong-double-128) InverseMask(LONG_DOUBLE_128)
Use 64-bit long double Use 64-bit long double.
mhtm mhtm
Target Report Mask(OPT_HTM) Target Report Mask(OPT_HTM)
Use hardware transactional execution instructions Use hardware transactional execution instructions.
mvx mvx
Target Report Mask(OPT_VX) Target Report Mask(OPT_VX)
Use hardware vector facility instructions and enable the vector ABI Use hardware vector facility instructions and enable the vector ABI.
mpacked-stack mpacked-stack
Target Report Mask(PACKED_STACK) Target Report Mask(PACKED_STACK)
Use packed stack layout Use packed stack layout.
msmall-exec msmall-exec
Target Report Mask(SMALL_EXEC) Target Report Mask(SMALL_EXEC)
Use bras for executable < 64k Use bras for executable < 64k.
msoft-float msoft-float
Target Report RejectNegative Negative(mhard-float) Mask(SOFT_FLOAT) Target Report RejectNegative Negative(mhard-float) Mask(SOFT_FLOAT)
Disable hardware floating point Disable hardware floating point.
mstack-guard= mstack-guard=
Target RejectNegative Joined UInteger Var(s390_stack_guard) Target RejectNegative Joined UInteger Var(s390_stack_guard)
Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered.
mstack-size= mstack-size=
Target RejectNegative Joined UInteger Var(s390_stack_size) Target RejectNegative Joined UInteger Var(s390_stack_size)
Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit.
mtune= mtune=
Target RejectNegative Joined Enum(processor_type) Var(s390_tune) Init(PROCESSOR_max) Target RejectNegative Joined Enum(processor_type) Var(s390_tune) Init(PROCESSOR_max)
Schedule code for given CPU Schedule code for given CPU.
mmvcle mmvcle
Target Report Mask(MVCLE) Target Report Mask(MVCLE)
mvcle use mvcle use.
mzvector mzvector
Target Report Mask(ZVECTOR) Target Report Mask(ZVECTOR)
...@@ -163,15 +163,15 @@ vector macro and enable the Altivec-style builtins in vecintrin.h ...@@ -163,15 +163,15 @@ vector macro and enable the Altivec-style builtins in vecintrin.h
mwarn-dynamicstack mwarn-dynamicstack
Target RejectNegative Var(s390_warn_dynamicstack_p) Target RejectNegative Var(s390_warn_dynamicstack_p)
Warn if a function uses alloca or creates an array with dynamic size Warn if a function uses alloca or creates an array with dynamic size.
mwarn-framesize= mwarn-framesize=
Target RejectNegative Joined Target RejectNegative Joined
Warn if a single function's framesize exceeds the given framesize Warn if a single function's framesize exceeds the given framesize.
mzarch mzarch
Target Report RejectNegative Negative(mesa) Mask(ZARCH) Target Report RejectNegative Negative(mesa) Mask(ZARCH)
z/Architecture z/Architecture.
mbranch-cost= mbranch-cost=
Target Report Joined RejectNegative UInteger Var(s390_branch_cost) Init(1) Target Report Joined RejectNegative UInteger Var(s390_branch_cost) Init(1)
...@@ -181,4 +181,4 @@ values are small, non-negative integers. The default branch cost is ...@@ -181,4 +181,4 @@ values are small, non-negative integers. The default branch cost is
mlra mlra
Target Report Var(s390_lra_flag) Init(1) Save Target Report Var(s390_lra_flag) Init(1) Save
Use LRA instead of reload Use LRA instead of reload.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
mtpf-trace mtpf-trace
Target Report Mask(TPF_PROFILING) Target Report Mask(TPF_PROFILING)
Enable TPF-OS tracing code Enable TPF-OS tracing code.
mmain mmain
Target Report Target Report
Specify main object for TPF-OS Specify main object for TPF-OS.
...@@ -29,11 +29,11 @@ Driver Joined ...@@ -29,11 +29,11 @@ Driver Joined
mclear-hwcap mclear-hwcap
Target Report Target Report
Clear hardware capabilities when linking Clear hardware capabilities when linking.
mimpure-text mimpure-text
Target Report Target Report
Pass -z text to linker Pass -z text to linker.
pthread pthread
Driver Driver
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
mlong-double-128 mlong-double-128
Target Report RejectNegative Mask(LONG_DOUBLE_128) Target Report RejectNegative Mask(LONG_DOUBLE_128)
Use 128-bit long double Use 128-bit long double.
mlong-double-64 mlong-double-64
Target Report RejectNegative InverseMask(LONG_DOUBLE_128) Target Report RejectNegative InverseMask(LONG_DOUBLE_128)
Use 64-bit long double Use 64-bit long double.
...@@ -27,103 +27,103 @@ unsigned int sparc_debug ...@@ -27,103 +27,103 @@ unsigned int sparc_debug
mfpu mfpu
Target Report Mask(FPU) Target Report Mask(FPU)
Use hardware FP Use hardware FP.
mhard-float mhard-float
Target RejectNegative Mask(FPU) Target RejectNegative Mask(FPU)
Use hardware FP Use hardware FP.
msoft-float msoft-float
Target RejectNegative InverseMask(FPU) Target RejectNegative InverseMask(FPU)
Do not use hardware FP Do not use hardware FP.
mflat mflat
Target Report Mask(FLAT) Target Report Mask(FLAT)
Use flat register window model Use flat register window model.
munaligned-doubles munaligned-doubles
Target Report Mask(UNALIGNED_DOUBLES) Target Report Mask(UNALIGNED_DOUBLES)
Assume possible double misalignment Assume possible double misalignment.
mapp-regs mapp-regs
Target Report Mask(APP_REGS) Target Report Mask(APP_REGS)
Use ABI reserved registers Use ABI reserved registers.
mhard-quad-float mhard-quad-float
Target Report RejectNegative Mask(HARD_QUAD) Target Report RejectNegative Mask(HARD_QUAD)
Use hardware quad FP instructions Use hardware quad FP instructions.
msoft-quad-float msoft-quad-float
Target Report RejectNegative InverseMask(HARD_QUAD) Target Report RejectNegative InverseMask(HARD_QUAD)
Do not use hardware quad fp instructions Do not use hardware quad fp instructions.
mv8plus mv8plus
Target Report Mask(V8PLUS) Target Report Mask(V8PLUS)
Compile for V8+ ABI Compile for V8+ ABI.
mvis mvis
Target Report Mask(VIS) Target Report Mask(VIS)
Use UltraSPARC Visual Instruction Set version 1.0 extensions Use UltraSPARC Visual Instruction Set version 1.0 extensions.
mvis2 mvis2
Target Report Mask(VIS2) Target Report Mask(VIS2)
Use UltraSPARC Visual Instruction Set version 2.0 extensions Use UltraSPARC Visual Instruction Set version 2.0 extensions.
mvis3 mvis3
Target Report Mask(VIS3) Target Report Mask(VIS3)
Use UltraSPARC Visual Instruction Set version 3.0 extensions Use UltraSPARC Visual Instruction Set version 3.0 extensions.
mcbcond mcbcond
Target Report Mask(CBCOND) Target Report Mask(CBCOND)
Use UltraSPARC Compare-and-Branch extensions Use UltraSPARC Compare-and-Branch extensions.
mfmaf mfmaf
Target Report Mask(FMAF) Target Report Mask(FMAF)
Use UltraSPARC Fused Multiply-Add extensions Use UltraSPARC Fused Multiply-Add extensions.
mpopc mpopc
Target Report Mask(POPC) Target Report Mask(POPC)
Use UltraSPARC Population-Count instruction Use UltraSPARC Population-Count instruction.
mptr64 mptr64
Target Report RejectNegative Mask(PTR64) Target Report RejectNegative Mask(PTR64)
Pointers are 64-bit Pointers are 64-bit.
mptr32 mptr32
Target Report RejectNegative InverseMask(PTR64) Target Report RejectNegative InverseMask(PTR64)
Pointers are 32-bit Pointers are 32-bit.
m64 m64
Target Report RejectNegative Mask(64BIT) Target Report RejectNegative Mask(64BIT)
Use 64-bit ABI Use 64-bit ABI.
m32 m32
Target Report RejectNegative InverseMask(64BIT) Target Report RejectNegative InverseMask(64BIT)
Use 32-bit ABI Use 32-bit ABI.
mstack-bias mstack-bias
Target Report Mask(STACK_BIAS) Target Report Mask(STACK_BIAS)
Use stack bias Use stack bias.
mfaster-structs mfaster-structs
Target Report Mask(FASTER_STRUCTS) Target Report Mask(FASTER_STRUCTS)
Use structs on stronger alignment for double-word copies Use structs on stronger alignment for double-word copies.
mrelax mrelax
Target Target
Optimize tail call instructions in assembler and linker Optimize tail call instructions in assembler and linker.
muser-mode muser-mode
Target Report InverseMask(SV_MODE) Target Report InverseMask(SV_MODE)
Do not generate code that can only run in supervisor mode (default) Do not generate code that can only run in supervisor mode (default).
mcpu= mcpu=
Target RejectNegative Joined Var(sparc_cpu_and_features) Enum(sparc_processor_type) Init(PROCESSOR_V7) Target RejectNegative Joined Var(sparc_cpu_and_features) Enum(sparc_processor_type) Init(PROCESSOR_V7)
Use features of and schedule code for given CPU Use features of and schedule code for given CPU.
mtune= mtune=
Target RejectNegative Joined Var(sparc_cpu) Enum(sparc_processor_type) Init(PROCESSOR_V7) Target RejectNegative Joined Var(sparc_cpu) Enum(sparc_processor_type) Init(PROCESSOR_V7)
Schedule code for given CPU Schedule code for given CPU.
Enum Enum
Name(sparc_processor_type) Type(enum processor_type) Name(sparc_processor_type) Type(enum processor_type)
...@@ -196,11 +196,11 @@ Enum(sparc_processor_type) String(niagara4) Value(PROCESSOR_NIAGARA4) ...@@ -196,11 +196,11 @@ Enum(sparc_processor_type) String(niagara4) Value(PROCESSOR_NIAGARA4)
mcmodel= mcmodel=
Target RejectNegative Joined Var(sparc_cmodel_string) Target RejectNegative Joined Var(sparc_cmodel_string)
Use given SPARC-V9 code model Use given SPARC-V9 code model.
mdebug= mdebug=
Target RejectNegative Joined Var(sparc_debug_string) Target RejectNegative Joined Var(sparc_debug_string)
Enable debug output Enable debug output.
mstd-struct-return mstd-struct-return
Target Report RejectNegative Var(sparc_std_struct_return) Target Report RejectNegative Var(sparc_std_struct_return)
...@@ -213,7 +213,7 @@ Enable workaround for single erratum of AT697F processor ...@@ -213,7 +213,7 @@ Enable workaround for single erratum of AT697F processor
mfix-ut699 mfix-ut699
Target Report RejectNegative Var(sparc_fix_ut699) Target Report RejectNegative Var(sparc_fix_ut699)
Enable workarounds for the errata of the UT699 processor Enable workarounds for the errata of the UT699 processor.
Mask(LONG_DOUBLE_128) Mask(LONG_DOUBLE_128)
;; Use 128-bit long double ;; Use 128-bit long double
......
...@@ -17,89 +17,89 @@ ...@@ -17,89 +17,89 @@
mwarn-reloc mwarn-reloc
Target Report Mask(WARN_RELOC) Target Report Mask(WARN_RELOC)
Emit warnings when run-time relocations are generated Emit warnings when run-time relocations are generated.
merror-reloc merror-reloc
Target Report Mask(ERROR_RELOC) Target Report Mask(ERROR_RELOC)
Emit errors when run-time relocations are generated Emit errors when run-time relocations are generated.
mbranch-cost= mbranch-cost=
Target RejectNegative Joined UInteger Var(spu_branch_cost) Init(20) Target RejectNegative Joined UInteger Var(spu_branch_cost) Init(20)
Specify cost of branches (Default 20) Specify cost of branches (Default 20).
msafe-dma msafe-dma
Target Report RejectNegative Mask(SAFE_DMA) Target Report RejectNegative Mask(SAFE_DMA)
Make sure loads and stores are not moved past DMA instructions Make sure loads and stores are not moved past DMA instructions.
munsafe-dma munsafe-dma
Target Report RejectNegative InverseMask(SAFE_DMA) Target Report RejectNegative InverseMask(SAFE_DMA)
volatile must be specified on any memory that is effected by DMA volatile must be specified on any memory that is effected by DMA.
mdual-nops mdual-nops
Target Report Var(spu_dual_nops,10) Init(10) Target Report Var(spu_dual_nops,10) Init(10)
Insert nops when it might improve performance by allowing dual issue (default) Insert nops when it might improve performance by allowing dual issue (default).
mdual-nops= mdual-nops=
Target RejectNegative Joined UInteger Var(spu_dual_nops) Target RejectNegative Joined UInteger Var(spu_dual_nops)
Insert nops when it might improve performance by allowing dual issue (default) Insert nops when it might improve performance by allowing dual issue (default).
mstdmain mstdmain
Target Report Mask(STD_MAIN) Target Report Mask(STD_MAIN)
Use standard main function as entry for startup Use standard main function as entry for startup.
mbranch-hints mbranch-hints
Target Report Mask(BRANCH_HINTS) Target Report Mask(BRANCH_HINTS)
Generate branch hints for branches Generate branch hints for branches.
mhint-max-nops= mhint-max-nops=
Target RejectNegative Joined UInteger Var(spu_max_nops) Init(2) Target RejectNegative Joined UInteger Var(spu_max_nops) Init(2)
Maximum number of nops to insert for a hint (Default 2) Maximum number of nops to insert for a hint (Default 2).
mhint-max-distance= mhint-max-distance=
Target RejectNegative Joined Var(spu_max_distance_str) Target RejectNegative Joined Var(spu_max_distance_str)
Approximate maximum number of instructions to allow between a hint and its branch [125] Approximate maximum number of instructions to allow between a hint and its branch [125].
msmall-mem msmall-mem
Target Report RejectNegative InverseMask(LARGE_MEM) Target Report RejectNegative InverseMask(LARGE_MEM)
Generate code for 18 bit addressing Generate code for 18 bit addressing.
mlarge-mem mlarge-mem
Target Report RejectNegative Mask(LARGE_MEM) Target Report RejectNegative Mask(LARGE_MEM)
Generate code for 32 bit addressing Generate code for 32 bit addressing.
mfixed-range= mfixed-range=
Target RejectNegative Joined Var(spu_fixed_range_string) Target RejectNegative Joined Var(spu_fixed_range_string)
Specify range of registers to make fixed Specify range of registers to make fixed.
msafe-hints msafe-hints
Target Report Mask(SAFE_HINTS) Target Report Mask(SAFE_HINTS)
Insert hbrp instructions after hinted branch targets to avoid the SPU hang issue Insert hbrp instructions after hinted branch targets to avoid the SPU hang issue.
march= march=
Target RejectNegative Joined Var(spu_arch_string) Target RejectNegative Joined Var(spu_arch_string)
Generate code for given CPU Generate code for given CPU.
mtune= mtune=
Target RejectNegative Joined Var(spu_tune_string) Target RejectNegative Joined Var(spu_tune_string)
Schedule code for given CPU Schedule code for given CPU.
mea32 mea32
Target Report RejectNegative Var(spu_ea_model,32) Init(32) Target Report RejectNegative Var(spu_ea_model,32) Init(32)
Access variables in 32-bit PPU objects (default) Access variables in 32-bit PPU objects (default).
mea64 mea64
Target Report RejectNegative Var(spu_ea_model,64) Target Report RejectNegative Var(spu_ea_model,64)
Access variables in 64-bit PPU objects Access variables in 64-bit PPU objects.
maddress-space-conversion maddress-space-conversion
Target Report Mask(ADDRESS_SPACE_CONVERSION) Target Report Mask(ADDRESS_SPACE_CONVERSION)
Allow conversions between __ea and generic pointers (default) Allow conversions between __ea and generic pointers (default).
mcache-size= mcache-size=
Target Report RejectNegative Joined UInteger Target Report RejectNegative Joined UInteger
Size (in KB) of software data cache Size (in KB) of software data cache.
matomic-updates matomic-updates
Target Report Target Report
Atomically write back software data cache lines (default) Atomically write back software data cache lines (default).
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
; Not used by the compiler ; Not used by the compiler
msim msim
Target RejectNegative Target RejectNegative
Provide libraries for the simulator Provide libraries for the simulator.
...@@ -23,7 +23,7 @@ config/tilegx/tilegx-opts.h ...@@ -23,7 +23,7 @@ config/tilegx/tilegx-opts.h
mcpu= mcpu=
Target RejectNegative Joined Enum(tilegx_cpu) Var(tilegx_cpu) Init(0) Target RejectNegative Joined Enum(tilegx_cpu) Var(tilegx_cpu) Init(0)
-mcpu=CPU Use features of and schedule code for given CPU -mcpu=CPU Use features of and schedule code for given CPU.
Enum Enum
Name(tilegx_cpu) Type(int) Name(tilegx_cpu) Type(int)
...@@ -50,7 +50,7 @@ Use little-endian byte order. ...@@ -50,7 +50,7 @@ Use little-endian byte order.
mcmodel= mcmodel=
Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL) Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL)
Use given TILE-Gx code model Use given TILE-Gx code model.
Enum Enum
Name(cmodel) Type(enum cmodel) Name(cmodel) Type(enum cmodel)
......
...@@ -25,7 +25,7 @@ behavior and thus the flag is ignored. ...@@ -25,7 +25,7 @@ behavior and thus the flag is ignored.
mcpu= mcpu=
Target RejectNegative Joined Enum(tilepro_cpu) Var(tilepro_cpu) Init(0) Target RejectNegative Joined Enum(tilepro_cpu) Var(tilepro_cpu) Init(0)
-mcpu=CPU Use features of and schedule code for given CPU -mcpu=CPU Use features of and schedule code for given CPU.
Enum Enum
Name(tilepro_cpu) Type(int) Name(tilepro_cpu) Type(int)
......
...@@ -26,134 +26,134 @@ int small_memory_max[(int)SMALL_MEMORY_max] = { 0, 0, 0 } ...@@ -26,134 +26,134 @@ int small_memory_max[(int)SMALL_MEMORY_max] = { 0, 0, 0 }
mapp-regs mapp-regs
Target Report Mask(APP_REGS) Target Report Mask(APP_REGS)
Use registers r2 and r5 Use registers r2 and r5.
mbig-switch mbig-switch
Target Report Mask(BIG_SWITCH) Target Report Mask(BIG_SWITCH)
Use 4 byte entries in switch tables Use 4 byte entries in switch tables.
mdebug mdebug
Target Report Mask(DEBUG) Target Report Mask(DEBUG)
Enable backend debugging Enable backend debugging.
mdisable-callt mdisable-callt
Target Report Mask(DISABLE_CALLT) Target Report Mask(DISABLE_CALLT)
Do not use the callt instruction (default) Do not use the callt instruction (default).
mep mep
Target Report Mask(EP) Target Report Mask(EP)
Reuse r30 on a per function basis Reuse r30 on a per function basis.
mghs mghs
Target RejectNegative InverseMask(GCC_ABI) MaskExists Target RejectNegative InverseMask(GCC_ABI) MaskExists
mlong-calls mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Prohibit PC relative function calls Prohibit PC relative function calls.
mprolog-function mprolog-function
Target Report Mask(PROLOG_FUNCTION) Target Report Mask(PROLOG_FUNCTION)
Use stubs for function prologues Use stubs for function prologues.
msda= msda=
Target RejectNegative Joined UInteger Target RejectNegative Joined UInteger
Set the max size of data eligible for the SDA area Set the max size of data eligible for the SDA area.
msda- msda-
Target RejectNegative Joined Undocumented Alias(msda=) Target RejectNegative Joined Undocumented Alias(msda=)
msmall-sld msmall-sld
Target Report Mask(SMALL_SLD) Target Report Mask(SMALL_SLD)
Enable the use of the short load instructions Enable the use of the short load instructions.
mspace mspace
Target RejectNegative Target RejectNegative
Same as: -mep -mprolog-function Same as: -mep -mprolog-function.
mtda= mtda=
Target RejectNegative Joined UInteger Target RejectNegative Joined UInteger
Set the max size of data eligible for the TDA area Set the max size of data eligible for the TDA area.
mtda- mtda-
Target RejectNegative Joined Undocumented Alias(mtda=) Target RejectNegative Joined Undocumented Alias(mtda=)
mno-strict-align mno-strict-align
Target Report Mask(NO_STRICT_ALIGN) Target Report Mask(NO_STRICT_ALIGN)
Do not enforce strict alignment Do not enforce strict alignment.
mjump-tables-in-data-section mjump-tables-in-data-section
Target Report Mask(JUMP_TABLES_IN_DATA_SECTION) Target Report Mask(JUMP_TABLES_IN_DATA_SECTION)
Put jump tables for switch statements into the .data section rather than the .code section Put jump tables for switch statements into the .data section rather than the .code section.
mUS-bit-set mUS-bit-set
Target Report Mask(US_BIT_SET) Target Report Mask(US_BIT_SET)
mv850 mv850
Target Report RejectNegative Mask(V850) Target Report RejectNegative Mask(V850)
Compile for the v850 processor Compile for the v850 processor.
mv850e mv850e
Target Report RejectNegative Mask(V850E) Target Report RejectNegative Mask(V850E)
Compile for the v850e processor Compile for the v850e processor.
mv850e1 mv850e1
Target RejectNegative Mask(V850E1) Target RejectNegative Mask(V850E1)
Compile for the v850e1 processor Compile for the v850e1 processor.
mv850es mv850es
Target RejectNegative Mask(V850E1) Target RejectNegative Mask(V850E1)
Compile for the v850es variant of the v850e1 Compile for the v850es variant of the v850e1.
mv850e2 mv850e2
Target Report RejectNegative Mask(V850E2) Target Report RejectNegative Mask(V850E2)
Compile for the v850e2 processor Compile for the v850e2 processor.
mv850e2v3 mv850e2v3
Target Report RejectNegative Mask(V850E2V3) Target Report RejectNegative Mask(V850E2V3)
Compile for the v850e2v3 processor Compile for the v850e2v3 processor.
mv850e3v5 mv850e3v5
Target Report RejectNegative Mask(V850E3V5) Target Report RejectNegative Mask(V850E3V5)
Compile for the v850e3v5 processor Compile for the v850e3v5 processor.
mv850e2v4 mv850e2v4
Target RejectNegative Mask(V850E3V5) MaskExists Target RejectNegative Mask(V850E3V5) MaskExists
mloop mloop
Target Report Mask(LOOP) Target Report Mask(LOOP)
Enable v850e3v5 loop instructions Enable v850e3v5 loop instructions.
mzda= mzda=
Target RejectNegative Joined UInteger Target RejectNegative Joined UInteger
Set the max size of data eligible for the ZDA area Set the max size of data eligible for the ZDA area.
mzda- mzda-
Target RejectNegative Joined Undocumented Alias(mzda=) Target RejectNegative Joined Undocumented Alias(mzda=)
mrelax mrelax
Target Report Mask(RELAX) Target Report Mask(RELAX)
Enable relaxing in the assembler Enable relaxing in the assembler.
mlong-jumps mlong-jumps
Target Report Mask(BIG_SWITCH) MaskExists Target Report Mask(BIG_SWITCH) MaskExists
Prohibit PC relative jumps Prohibit PC relative jumps.
msoft-float msoft-float
Target Report RejectNegative Mask(SOFT_FLOAT) Target Report RejectNegative Mask(SOFT_FLOAT)
Inhibit the use of hardware floating point instructions Inhibit the use of hardware floating point instructions.
mhard-float mhard-float
Target Report RejectNegative InverseMask(SOFT_FLOAT) MaskExists Target Report RejectNegative InverseMask(SOFT_FLOAT) MaskExists
Allow the use of hardware floating point instructions for V850E2V3 and up Allow the use of hardware floating point instructions for V850E2V3 and up.
mrh850-abi mrh850-abi
Target RejectNegative Report InverseMask(GCC_ABI) MaskExists Target RejectNegative Report InverseMask(GCC_ABI) MaskExists
Enable support for the RH850 ABI. This is the default Enable support for the RH850 ABI. This is the default.
mgcc-abi mgcc-abi
Target RejectNegative Report Mask(GCC_ABI) Target RejectNegative Report Mask(GCC_ABI)
Enable support for the old GCC ABI Enable support for the old GCC ABI.
m8byte-align m8byte-align
Target Report Mask(8BYTE_ALIGN) Target Report Mask(8BYTE_ALIGN)
Support alignments of up to 64-bits Support alignments of up to 64-bits.
...@@ -20,32 +20,32 @@ ...@@ -20,32 +20,32 @@
md md
Target RejectNegative InverseMask(G_FLOAT) Target RejectNegative InverseMask(G_FLOAT)
Target DFLOAT double precision code Target DFLOAT double precision code.
md-float md-float
Target RejectNegative InverseMask(G_FLOAT) Target RejectNegative InverseMask(G_FLOAT)
Target DFLOAT double precision code Target DFLOAT double precision code.
mg mg
Target RejectNegative Mask(G_FLOAT) Target RejectNegative Mask(G_FLOAT)
Generate GFLOAT double precision code Generate GFLOAT double precision code.
mg-float mg-float
Target RejectNegative Mask(G_FLOAT) Target RejectNegative Mask(G_FLOAT)
Generate GFLOAT double precision code Generate GFLOAT double precision code.
mgnu mgnu
Target RejectNegative InverseMask(UNIX_ASM) Target RejectNegative InverseMask(UNIX_ASM)
Generate code for GNU assembler (gas) Generate code for GNU assembler (gas).
munix munix
Target RejectNegative Mask(UNIX_ASM) Target RejectNegative Mask(UNIX_ASM)
Generate code for UNIX assembler Generate code for UNIX assembler.
mvaxc-alignment mvaxc-alignment
Target RejectNegative Mask(VAXC_ALIGNMENT) Target RejectNegative Mask(VAXC_ALIGNMENT)
Use VAXC structure conventions Use VAXC structure conventions.
mqmath mqmath
Target Mask(QMATH) Target Mask(QMATH)
Use new adddi3/subdi3 patterns Use new adddi3/subdi3 patterns.
...@@ -22,31 +22,31 @@ config/visium/visium-opts.h ...@@ -22,31 +22,31 @@ config/visium/visium-opts.h
mdebug mdebug
Target RejectNegative Target RejectNegative
Link with libc.a and libdebug.a Link with libc.a and libdebug.a.
msim msim
Target RejectNegative Target RejectNegative
Link with libc.a and libsim.a Link with libc.a and libsim.a.
mfpu mfpu
Target Report Mask(FPU) Target Report Mask(FPU)
Use hardware FP (default) Use hardware FP (default).
mhard-float mhard-float
Target RejectNegative Mask(FPU) MaskExists Target RejectNegative Mask(FPU) MaskExists
Use hardware FP Use hardware FP.
msoft-float msoft-float
Target RejectNegative InverseMask(FPU) Target RejectNegative InverseMask(FPU)
Do not use hardware FP Do not use hardware FP.
mcpu= mcpu=
Target RejectNegative Joined Var(visium_cpu_and_features) Enum(visium_processor_type) Init(PROCESSOR_GR5) Target RejectNegative Joined Var(visium_cpu_and_features) Enum(visium_processor_type) Init(PROCESSOR_GR5)
Use features of and schedule code for given CPU Use features of and schedule code for given CPU.
mtune= mtune=
Target RejectNegative Joined Var(visium_cpu) Enum(visium_processor_type) Init(PROCESSOR_GR5) Target RejectNegative Joined Var(visium_cpu) Enum(visium_processor_type) Init(PROCESSOR_GR5)
Schedule code for given CPU Schedule code for given CPU.
Enum Enum
Name(visium_processor_type) Type(enum processor_type) Name(visium_processor_type) Type(enum processor_type)
...@@ -62,11 +62,11 @@ Enum(visium_processor_type) String(gr6) Value(PROCESSOR_GR6) ...@@ -62,11 +62,11 @@ Enum(visium_processor_type) String(gr6) Value(PROCESSOR_GR6)
msv-mode msv-mode
Target RejectNegative Report Mask(SV_MODE) Target RejectNegative Report Mask(SV_MODE)
Generate code for the supervisor mode (default) Generate code for the supervisor mode (default).
muser-mode muser-mode
Target RejectNegative Report InverseMask(SV_MODE) Target RejectNegative Report InverseMask(SV_MODE)
Generate code for the user mode Generate code for the user mode.
menable-trampolines menable-trampolines
Target RejectNegative Target RejectNegative
......
...@@ -24,19 +24,19 @@ Target RejectNegative ...@@ -24,19 +24,19 @@ Target RejectNegative
mmalloc64 mmalloc64
Target Report Var(flag_vms_malloc64) Init(1) Target Report Var(flag_vms_malloc64) Init(1)
Malloc data into P2 space Malloc data into P2 space.
mdebug-main= mdebug-main=
Target RejectNegative Joined Var(vms_debug_main) Target RejectNegative Joined Var(vms_debug_main)
Set name of main routine for the debugger Set name of main routine for the debugger.
mvms-return-codes mvms-return-codes
Target Report Var(flag_vms_return_codes) Target Report Var(flag_vms_return_codes)
Use VMS exit codes instead of posix ones Use VMS exit codes instead of posix ones.
mpointer-size= mpointer-size=
Target Joined Report RejectNegative Enum(vms_pointer_size) Var(flag_vms_pointer_size) Init(VMS_POINTER_SIZE_NONE) Target Joined Report RejectNegative Enum(vms_pointer_size) Var(flag_vms_pointer_size) Init(VMS_POINTER_SIZE_NONE)
-mpointer-size=[no,32,short,64,long] Set the default pointer size -mpointer-size=[no,32,short,64,long] Set the default pointer size.
Enum Enum
Name(vms_pointer_size) Type(enum vms_pointer_size) UnknownError(unknown pointer size model %qs) Name(vms_pointer_size) Type(enum vms_pointer_size) UnknownError(unknown pointer size model %qs)
......
...@@ -33,14 +33,14 @@ Driver Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL) ...@@ -33,14 +33,14 @@ Driver Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL)
mrtp mrtp
Target Report RejectNegative Mask(VXWORKS_RTP) Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL) Target Report RejectNegative Mask(VXWORKS_RTP) Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL)
Assume the VxWorks RTP environment Assume the VxWorks RTP environment.
; VxWorks AE has two modes: kernel mode and vThreads mode. In ; VxWorks AE has two modes: kernel mode and vThreads mode. In
; general, back ends do not actually need to know which mode they're ; general, back ends do not actually need to know which mode they're
; in, so we do not have to set any flags. ; in, so we do not have to set any flags.
mvthreads mvthreads
Target RejectNegative Condition(VXWORKS_KIND == VXWORKS_KIND_AE) Target RejectNegative Condition(VXWORKS_KIND == VXWORKS_KIND_AE)
Assume the VxWorks vThreads environment Assume the VxWorks vThreads environment.
non-static non-static
Driver Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL) Driver Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL)
...@@ -20,28 +20,28 @@ ...@@ -20,28 +20,28 @@
mconst16 mconst16
Target Report Mask(CONST16) Target Report Mask(CONST16)
Use CONST16 instruction to load constants Use CONST16 instruction to load constants.
mforce-no-pic mforce-no-pic
Target Report Mask(FORCE_NO_PIC) Target Report Mask(FORCE_NO_PIC)
Disable position-independent code (PIC) for use in OS kernel code Disable position-independent code (PIC) for use in OS kernel code.
mlongcalls mlongcalls
Target Target
Use indirect CALLXn instructions for large programs Use indirect CALLXn instructions for large programs.
mtarget-align mtarget-align
Target Target
Automatically align branch targets to reduce branch penalties Automatically align branch targets to reduce branch penalties.
mtext-section-literals mtext-section-literals
Target Target
Intersperse literal pools with code in the text section Intersperse literal pools with code in the text section.
mauto-litpools mauto-litpools
Target Report Mask(AUTO_LITPOOLS) Target Report Mask(AUTO_LITPOOLS)
Relax literals in assembler and place them automatically in the text section Relax literals in assembler and place them automatically in the text section.
mserialize-volatile mserialize-volatile
Target Report Mask(SERIALIZE_VOLATILE) Target Report Mask(SERIALIZE_VOLATILE)
-mno-serialize-volatile Do not serialize volatile memory references with MEMW instructions -mno-serialize-volatile Do not serialize volatile memory references with MEMW instructions.
...@@ -3366,63 +3366,63 @@ display_help (void) ...@@ -3366,63 +3366,63 @@ display_help (void)
printf (_("Usage: %s [options] file...\n"), progname); printf (_("Usage: %s [options] file...\n"), progname);
fputs (_("Options:\n"), stdout); fputs (_("Options:\n"), stdout);
fputs (_(" -pass-exit-codes Exit with highest error code from a phase\n"), stdout); fputs (_(" -pass-exit-codes Exit with highest error code from a phase.\n"), stdout);
fputs (_(" --help Display this information\n"), stdout); fputs (_(" --help Display this information.\n"), stdout);
fputs (_(" --target-help Display target specific command line options\n"), stdout); fputs (_(" --target-help Display target specific command line options.\n"), stdout);
fputs (_(" --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]\n"), stdout); fputs (_(" --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].\n"), stdout);
fputs (_(" Display specific types of command line options\n"), stdout); fputs (_(" Display specific types of command line options.\n"), stdout);
if (! verbose_flag) if (! verbose_flag)
fputs (_(" (Use '-v --help' to display command line options of sub-processes)\n"), stdout); fputs (_(" (Use '-v --help' to display command line options of sub-processes).\n"), stdout);
fputs (_(" --version Display compiler version information\n"), stdout); fputs (_(" --version Display compiler version information.\n"), stdout);
fputs (_(" -dumpspecs Display all of the built in spec strings\n"), stdout); fputs (_(" -dumpspecs Display all of the built in spec strings.\n"), stdout);
fputs (_(" -dumpversion Display the version of the compiler\n"), stdout); fputs (_(" -dumpversion Display the version of the compiler.\n"), stdout);
fputs (_(" -dumpmachine Display the compiler's target processor\n"), stdout); fputs (_(" -dumpmachine Display the compiler's target processor.\n"), stdout);
fputs (_(" -print-search-dirs Display the directories in the compiler's search path\n"), stdout); fputs (_(" -print-search-dirs Display the directories in the compiler's search path.\n"), stdout);
fputs (_(" -print-libgcc-file-name Display the name of the compiler's companion library\n"), stdout); fputs (_(" -print-libgcc-file-name Display the name of the compiler's companion library.\n"), stdout);
fputs (_(" -print-file-name=<lib> Display the full path to library <lib>\n"), stdout); fputs (_(" -print-file-name=<lib> Display the full path to library <lib>.\n"), stdout);
fputs (_(" -print-prog-name=<prog> Display the full path to compiler component <prog>\n"), stdout); fputs (_(" -print-prog-name=<prog> Display the full path to compiler component <prog>.\n"), stdout);
fputs (_("\ fputs (_("\
-print-multiarch Display the target's normalized GNU triplet, used as\n\ -print-multiarch Display the target's normalized GNU triplet, used as\n\
a component in the library path\n"), stdout); a component in the library path.\n"), stdout);
fputs (_(" -print-multi-directory Display the root directory for versions of libgcc\n"), stdout); fputs (_(" -print-multi-directory Display the root directory for versions of libgcc.\n"), stdout);
fputs (_("\ fputs (_("\
-print-multi-lib Display the mapping between command line options and\n\ -print-multi-lib Display the mapping between command line options and\n\
multiple library search directories\n"), stdout); multiple library search directories.\n"), stdout);
fputs (_(" -print-multi-os-directory Display the relative path to OS libraries\n"), stdout); fputs (_(" -print-multi-os-directory Display the relative path to OS libraries.\n"), stdout);
fputs (_(" -print-sysroot Display the target libraries directory\n"), stdout); fputs (_(" -print-sysroot Display the target libraries directory.\n"), stdout);
fputs (_(" -print-sysroot-headers-suffix Display the sysroot suffix used to find headers\n"), stdout); fputs (_(" -print-sysroot-headers-suffix Display the sysroot suffix used to find headers.\n"), stdout);
fputs (_(" -Wa,<options> Pass comma-separated <options> on to the assembler\n"), stdout); fputs (_(" -Wa,<options> Pass comma-separated <options> on to the assembler.\n"), stdout);
fputs (_(" -Wp,<options> Pass comma-separated <options> on to the preprocessor\n"), stdout); fputs (_(" -Wp,<options> Pass comma-separated <options> on to the preprocessor.\n"), stdout);
fputs (_(" -Wl,<options> Pass comma-separated <options> on to the linker\n"), stdout); fputs (_(" -Wl,<options> Pass comma-separated <options> on to the linker.\n"), stdout);
fputs (_(" -Xassembler <arg> Pass <arg> on to the assembler\n"), stdout); fputs (_(" -Xassembler <arg> Pass <arg> on to the assembler.\n"), stdout);
fputs (_(" -Xpreprocessor <arg> Pass <arg> on to the preprocessor\n"), stdout); fputs (_(" -Xpreprocessor <arg> Pass <arg> on to the preprocessor.\n"), stdout);
fputs (_(" -Xlinker <arg> Pass <arg> on to the linker\n"), stdout); fputs (_(" -Xlinker <arg> Pass <arg> on to the linker.\n"), stdout);
fputs (_(" -save-temps Do not delete intermediate files\n"), stdout); fputs (_(" -save-temps Do not delete intermediate files.\n"), stdout);
fputs (_(" -save-temps=<arg> Do not delete intermediate files\n"), stdout); fputs (_(" -save-temps=<arg> Do not delete intermediate files.\n"), stdout);
fputs (_("\ fputs (_("\
-no-canonical-prefixes Do not canonicalize paths when building relative\n\ -no-canonical-prefixes Do not canonicalize paths when building relative\n\
prefixes to other gcc components\n"), stdout); prefixes to other gcc components.\n"), stdout);
fputs (_(" -pipe Use pipes rather than intermediate files\n"), stdout); fputs (_(" -pipe Use pipes rather than intermediate files.\n"), stdout);
fputs (_(" -time Time the execution of each subprocess\n"), stdout); fputs (_(" -time Time the execution of each subprocess.\n"), stdout);
fputs (_(" -specs=<file> Override built-in specs with the contents of <file>\n"), stdout); fputs (_(" -specs=<file> Override built-in specs with the contents of <file>.\n"), stdout);
fputs (_(" -std=<standard> Assume that the input sources are for <standard>\n"), stdout); fputs (_(" -std=<standard> Assume that the input sources are for <standard>.\n"), stdout);
fputs (_("\ fputs (_("\
--sysroot=<directory> Use <directory> as the root directory for headers\n\ --sysroot=<directory> Use <directory> as the root directory for headers\n\
and libraries\n"), stdout); and libraries.\n"), stdout);
fputs (_(" -B <directory> Add <directory> to the compiler's search paths\n"), stdout); fputs (_(" -B <directory> Add <directory> to the compiler's search paths.\n"), stdout);
fputs (_(" -v Display the programs invoked by the compiler\n"), stdout); fputs (_(" -v Display the programs invoked by the compiler.\n"), stdout);
fputs (_(" -### Like -v but options quoted and commands not executed\n"), stdout); fputs (_(" -### Like -v but options quoted and commands not executed.\n"), stdout);
fputs (_(" -E Preprocess only; do not compile, assemble or link\n"), stdout); fputs (_(" -E Preprocess only; do not compile, assemble or link.\n"), stdout);
fputs (_(" -S Compile only; do not assemble or link\n"), stdout); fputs (_(" -S Compile only; do not assemble or link.\n"), stdout);
fputs (_(" -c Compile and assemble, but do not link\n"), stdout); fputs (_(" -c Compile and assemble, but do not link.\n"), stdout);
fputs (_(" -o <file> Place the output into <file>\n"), stdout); fputs (_(" -o <file> Place the output into <file>.\n"), stdout);
fputs (_(" -pie Create a position independent executable\n"), stdout); fputs (_(" -pie Create a position independent executable.\n"), stdout);
fputs (_(" -shared Create a shared library\n"), stdout); fputs (_(" -shared Create a shared library.\n"), stdout);
fputs (_("\ fputs (_("\
-x <language> Specify the language of the following input files\n\ -x <language> Specify the language of the following input files.\n\
Permissible languages include: c c++ assembler none\n\ Permissible languages include: c c++ assembler none\n\
'none' means revert to the default behavior of\n\ 'none' means revert to the default behavior of\n\
guessing the language based on the file's extension\n\ guessing the language based on the file's extension.\n\
"), stdout); "), stdout);
printf (_("\ printf (_("\
......
...@@ -39,35 +39,35 @@ Go ...@@ -39,35 +39,35 @@ Go
fgo-check-divide-zero fgo-check-divide-zero
Go Var(go_check_divide_zero) Init(1) Go Var(go_check_divide_zero) Init(1)
Add explicit checks for division by zero Add explicit checks for division by zero.
fgo-check-divide-overflow fgo-check-divide-overflow
Go Var(go_check_divide_overflow) Init(1) Go Var(go_check_divide_overflow) Init(1)
Add explicit checks for division overflow in INT_MIN / -1 Add explicit checks for division overflow in INT_MIN / -1.
fgo-dump- fgo-dump-
Go Joined RejectNegative Go Joined RejectNegative
-fgo-dump-<type> Dump Go frontend internal information -fgo-dump-<type> Dump Go frontend internal information.
fgo-optimize- fgo-optimize-
Go Joined RejectNegative Go Joined RejectNegative
-fgo-optimize-<type> Turn on optimization passes in the frontend -fgo-optimize-<type> Turn on optimization passes in the frontend.
fgo-pkgpath= fgo-pkgpath=
Go Joined RejectNegative Go Joined RejectNegative
-fgo-pkgpath=<string> Set Go package path -fgo-pkgpath=<string> Set Go package path.
fgo-prefix= fgo-prefix=
Go Joined RejectNegative Go Joined RejectNegative
-fgo-prefix=<string> Set package-specific prefix for exported Go names -fgo-prefix=<string> Set package-specific prefix for exported Go names.
fgo-relative-import-path= fgo-relative-import-path=
Go Joined RejectNegative Go Joined RejectNegative
-fgo-relative-import-path=<path> Treat a relative import as relative to path -fgo-relative-import-path=<path> Treat a relative import as relative to path.
frequire-return-statement frequire-return-statement
Go Var(go_require_return_statement) Init(1) Warning Go Var(go_require_return_statement) Init(1) Warning
Functions which return values must end with return statements Functions which return values must end with return statements.
o o
Go Joined Separate Go Joined Separate
......
...@@ -119,15 +119,15 @@ Java Var(warn_deprecated) ...@@ -119,15 +119,15 @@ Java Var(warn_deprecated)
Wextraneous-semicolon Wextraneous-semicolon
Java Var(flag_extraneous_semicolon) Java Var(flag_extraneous_semicolon)
Warn if deprecated empty statements are found Warn if deprecated empty statements are found.
Wout-of-date Wout-of-date
Java Var(flag_newer) Init(1) Java Var(flag_newer) Init(1)
Warn if .class files are out of date Warn if .class files are out of date.
Wredundant-modifiers Wredundant-modifiers
Java Var(flag_redundant) Java Var(flag_redundant)
Warn if modifiers are specified when not necessary Warn if modifiers are specified when not necessary.
bootclasspath bootclasspath
Java Separate Alias(fbootclasspath=) Java Separate Alias(fbootclasspath=)
...@@ -147,14 +147,14 @@ Driver Separate ...@@ -147,14 +147,14 @@ Driver Separate
fCLASSPATH= fCLASSPATH=
Java JoinedOrMissing RejectNegative Alias(fclasspath=) Java JoinedOrMissing RejectNegative Alias(fclasspath=)
--CLASSPATH Deprecated; use --classpath instead --CLASSPATH Deprecated; use --classpath instead.
faux-classpath faux-classpath
Java Separate RejectNegative Undocumented Java Separate RejectNegative Undocumented
fassert fassert
Java Var(flag_assert) Init(1) Java Var(flag_assert) Init(1)
Permit the use of the assert keyword Permit the use of the assert keyword.
fassume-compiled fassume-compiled
Java Java
...@@ -176,34 +176,34 @@ Java JoinedOrMissing ...@@ -176,34 +176,34 @@ Java JoinedOrMissing
fbootclasspath= fbootclasspath=
Java JoinedOrMissing RejectNegative Java JoinedOrMissing RejectNegative
--bootclasspath=<path> Replace system path --bootclasspath=<path> Replace system path.
fcheck-references fcheck-references
Java Var(flag_check_references) Java Var(flag_check_references)
Generate checks for references to NULL Generate checks for references to NULL.
fclasspath= fclasspath=
Java JoinedOrMissing RejectNegative Java JoinedOrMissing RejectNegative
--classpath=<path> Set class path --classpath=<path> Set class path.
fcompile-resource= fcompile-resource=
Java Joined RejectNegative Java Joined RejectNegative
femit-class-file femit-class-file
Java Var(flag_emit_class_files) Java Var(flag_emit_class_files)
Output a class file Output a class file.
femit-class-files femit-class-files
Java Var(flag_emit_class_files) Java Var(flag_emit_class_files)
Alias for -femit-class-file Alias for -femit-class-file.
fencoding= fencoding=
Java Joined RejectNegative Java Joined RejectNegative
--encoding=<encoding> Choose input encoding (defaults from your locale) --encoding=<encoding> Choose input encoding (defaults from your locale).
fextdirs= fextdirs=
Java Joined RejectNegative Java Joined RejectNegative
--extdirs=<path> Set the extension directory path --extdirs=<path> Set the extension directory path.
fmain= fmain=
Driver JoinedOrMissing RejectNegative Driver JoinedOrMissing RejectNegative
...@@ -213,72 +213,72 @@ Java Joined Undocumented ...@@ -213,72 +213,72 @@ Java Joined Undocumented
ffilelist-file ffilelist-file
Java Var(flag_filelist_file) Java Var(flag_filelist_file)
Input file is a file with a list of filenames to compile Input file is a file with a list of filenames to compile.
fsaw-java-file fsaw-java-file
Java Undocumented RejectNegative Java Undocumented RejectNegative
fforce-classes-archive-check fforce-classes-archive-check
Java Var(flag_force_classes_archive_check) Java Var(flag_force_classes_archive_check)
Always check for non gcj generated classes archives Always check for non gcj generated classes archives.
fhash-synchronization fhash-synchronization
Java Var(flag_hash_synchronization) Java Var(flag_hash_synchronization)
Assume the runtime uses a hash table to map an object to its synchronization structure Assume the runtime uses a hash table to map an object to its synchronization structure.
findirect-classes findirect-classes
Java Var(flag_indirect_classes) Init(1) Java Var(flag_indirect_classes) Init(1)
Generate instances of Class at runtime Generate instances of Class at runtime.
findirect-dispatch findirect-dispatch
Java Var(flag_indirect_dispatch) Java Var(flag_indirect_dispatch)
Use offset tables for virtual method calls Use offset tables for virtual method calls.
finline-functions finline-functions
Java Java
fjni fjni
Java Var(flag_jni) Java Var(flag_jni)
Assume native functions are implemented using JNI Assume native functions are implemented using JNI.
foptimize-static-class-initialization foptimize-static-class-initialization
Java Var(flag_optimize_sci) Java Var(flag_optimize_sci)
Enable optimization of static class initialization code Enable optimization of static class initialization code.
foutput-class-dir= foutput-class-dir=
Java Joined RejectNegative Java Joined RejectNegative
freduced-reflection freduced-reflection
Java Var(flag_reduced_reflection) Java Var(flag_reduced_reflection)
Reduce the amount of reflection meta-data generated Reduce the amount of reflection meta-data generated.
fstore-check fstore-check
Java Var(flag_store_check) Init(1) Java Var(flag_store_check) Init(1)
Enable assignability checks for stores into object arrays Enable assignability checks for stores into object arrays.
fuse-boehm-gc fuse-boehm-gc
Java Var(flag_use_boehm_gc) Java Var(flag_use_boehm_gc)
Generate code for the Boehm GC Generate code for the Boehm GC.
fuse-divide-subroutine fuse-divide-subroutine
Java Var(flag_use_divide_subroutine) Init(1) Java Var(flag_use_divide_subroutine) Init(1)
Call a library routine to do integer divisions Call a library routine to do integer divisions.
fuse-atomic-builtins fuse-atomic-builtins
Java Var(flag_use_atomic_builtins) Init(0) Java Var(flag_use_atomic_builtins) Init(0)
Generate code for built-in atomic operations Generate code for built-in atomic operations.
fbootstrap-classes fbootstrap-classes
Java Var(flag_bootstrap_classes) Java Var(flag_bootstrap_classes)
Generated should be loaded by bootstrap loader Generated should be loaded by bootstrap loader.
fsource= fsource=
Java Joined Java Joined
Set the source language version Set the source language version.
ftarget= ftarget=
Java Joined Java Joined
Set the target VM version Set the target VM version.
s-bc-abi s-bc-abi
Driver Driver
......
...@@ -42,6 +42,6 @@ Whole program analysis (WPA) mode with number of parallel jobs specified. ...@@ -42,6 +42,6 @@ Whole program analysis (WPA) mode with number of parallel jobs specified.
fresolution= fresolution=
LTO Joined LTO Joined
The resolution file The resolution file.
; This comment is to ensure we retain the blank line above. ; This comment is to ensure we retain the blank line above.
...@@ -181,7 +181,8 @@ base_of_path (const char *path, const char **base_out) ...@@ -181,7 +181,8 @@ base_of_path (const char *path, const char **base_out)
} }
/* What to print when a switch has no documentation. */ /* What to print when a switch has no documentation. */
static const char undocumented_msg[] = N_("This switch lacks documentation"); static const char undocumented_msg[] = N_("This option lacks documentation.");
static const char use_diagnosed_msg[] = N_("Uses of this option are diagnosed.");
typedef char *char_p; /* For DEF_VEC_P. */ typedef char *char_p; /* For DEF_VEC_P. */
...@@ -1012,7 +1013,7 @@ print_filtered_help (unsigned int include_flags, ...@@ -1012,7 +1013,7 @@ print_filtered_help (unsigned int include_flags,
const char *help; const char *help;
bool found = false; bool found = false;
bool displayed = false; bool displayed = false;
char new_help[128]; char new_help[256];
if (include_flags == CL_PARAMS) if (include_flags == CL_PARAMS)
{ {
...@@ -1088,9 +1089,48 @@ print_filtered_help (unsigned int include_flags, ...@@ -1088,9 +1089,48 @@ print_filtered_help (unsigned int include_flags,
{ {
if (exclude_flags & CL_UNDOCUMENTED) if (exclude_flags & CL_UNDOCUMENTED)
continue; continue;
help = undocumented_msg; help = undocumented_msg;
} }
if (option->alias_target < N_OPTS
&& cl_options [option->alias_target].help)
{
if (help == undocumented_msg)
{
/* For undocumented options that are aliases for other options
that are documented, point the reader to the other option in
preference of the former. */
snprintf (new_help, sizeof new_help,
_("Same as %s. Use the latter option instead."),
cl_options [option->alias_target].opt_text);
}
else
{
/* For documented options with aliases, mention the aliased
option's name for reference. */
snprintf (new_help, sizeof new_help,
_("%s Same as %s."),
help, cl_options [option->alias_target].opt_text);
}
help = new_help;
}
if (option->warn_message)
{
/* Mention that the use of the option will trigger a warning. */
if (help == new_help)
snprintf (new_help + strlen (new_help),
sizeof new_help - strlen (new_help),
" %s", _(use_diagnosed_msg));
else
snprintf (new_help, sizeof new_help,
"%s %s", help, _(use_diagnosed_msg));
help = new_help;
}
/* Get the translation. */ /* Get the translation. */
help = _(help); help = _(help);
...@@ -1180,7 +1220,7 @@ print_filtered_help (unsigned int include_flags, ...@@ -1180,7 +1220,7 @@ print_filtered_help (unsigned int include_flags,
options supported by a specific front end. */ options supported by a specific front end. */
for (i = 0; (1U << i) < CL_LANG_ALL; i ++) for (i = 0; (1U << i) < CL_LANG_ALL; i ++)
if ((1U << i) & langs) if ((1U << i) & langs)
printf (_(" None found. Use --help=%s to show *all* the options supported by the %s front-end\n"), printf (_(" None found. Use --help=%s to show *all* the options supported by the %s front-end.\n"),
lang_names[i], lang_names[i]); lang_names[i], lang_names[i]);
} }
......
2015-10-21 Martin Sebor <msebor@redhat.com>
PR driver/68043
* gcc.misc-tests/help.exp: Adjust.
* lib/options.exp (check_for_options): Add detail to output.
2015-10-21 Steven G. Kargl <kargl@gcc.gnu.org> 2015-10-21 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67939 PR fortran/67939
......
...@@ -31,7 +31,7 @@ gcc_parallel_test_enable 0 ...@@ -31,7 +31,7 @@ gcc_parallel_test_enable 0
# Document --version. Ideally, there should be no undocumented switches # Document --version. Ideally, there should be no undocumented switches
# in --help. # in --help.
check_for_options c "--help" "--version" "This switch lacks documentation" "" check_for_options c "--help" "--version" "This option lacks documentation" ""
# Output from different subprocesses should not be intermingled # Output from different subprocesses should not be intermingled
# (we check for some patterns that could be seen with a missing # (we check for some patterns that could be seen with a missing
...@@ -43,7 +43,7 @@ check_for_options c "-v --help" "" { ...@@ -43,7 +43,7 @@ check_for_options c "-v --help" "" {
} "" } ""
# There are still undocumented switches in -v --help. # There are still undocumented switches in -v --help.
check_for_options c "-v --help" "" "This switch lacks documentation" "xfail" check_for_options c "-v --help" "" "This option lacks documentation" "xfail"
# Check whether multiline conversion in optc-gen is broken. # Check whether multiline conversion in optc-gen is broken.
check_for_options c "-v --help" "" {are likely to\n -std} "" check_for_options c "-v --help" "" {are likely to\n -std} ""
...@@ -54,10 +54,10 @@ check_for_options c "--help=params" "maximum number of" "-Wunsafe-loop-optimizat ...@@ -54,10 +54,10 @@ check_for_options c "--help=params" "maximum number of" "-Wunsafe-loop-optimizat
check_for_options c "--help=C" "-ansi" "-gnatO" "" check_for_options c "--help=C" "-ansi" "-gnatO" ""
check_for_options c {--help=C++} {-std=c\+\+} "-gnatO" "" check_for_options c {--help=C++} {-std=c\+\+} "-gnatO" ""
check_for_options c "--help=common" "-dumpbase" "-gnatO" "" check_for_options c "--help=common" "-dumpbase" "-gnatO" ""
check_for_options c "--help=undocumented" "This switch lacks documentation" "" "" check_for_options c "--help=undocumented" "This option lacks documentation" "" ""
# Undocumented flags are not yet consistently marked as such. # Undocumented flags are not yet consistently marked as such.
check_for_options c "--help=^undocumented" "-Wall" "This switch lacks documentation" "xfail" check_for_options c "--help=^undocumented" "-Wall" "This option lacks documentation" "xfail"
# Try some --help=* examples from the manual. # Try some --help=* examples from the manual.
check_for_options c "--help=target,undocumented" "" "" "" check_for_options c "--help=target,undocumented" "" "" ""
...@@ -78,14 +78,27 @@ maximum number of ...@@ -78,14 +78,27 @@ maximum number of
} "" "" } "" ""
# Ensure PR 37805 is fixed. # Ensure PR 37805 is fixed.
check_for_options c "--help=joined" "Wformat=" "-fstrict-prototype" "" # Specify patterns (arguments 3 and later) that match option names
check_for_options c "--help=separate" "-MF" "-fstrict-prototype" "" # at the beginning of the line and not when they are referenced by
check_for_options c "--help=warnings,joined" "Wformat=" "Wtrigraphs" "" # some other options later on.
check_for_options c "--help=warnings,^joined" "Wtrigraphs" "Wformat=" "" # The (?w) Tcl embedded option tells the Tcl regexp parser to treat
check_for_options c "--help=joined,separate" "-I" "" "" # the '^' character as an anchor.
check_for_options c "--help=^joined,separate" "--param " "" "" check_for_options c "--help=joined" \
check_for_options c "--help=joined,^separate" "--help=" "" "" "(?w)^ *-Wformat=" "(?w)^ *-fstrict-prototype" ""
check_for_options c "--help=separate" \
"(?w)^ *-MF" "(?w)^ *-fstrict-prototype" ""
check_for_options c "--help=warnings,joined" \
"(?w)^ *-Wformat=" "(?w)^ *-Wtrigraphs" ""
check_for_options c "--help=warnings,^joined" \
"(?w)^ *-Wtrigraphs" "(?w)^ *-Wformat=" ""
check_for_options c "--help=joined,separate" \
"(?w)^ *-I" "" ""
check_for_options c "--help=^joined,separate" \
"(?w)^ *--param " "" ""
check_for_options c "--help=joined,^separate" \
"(?w)^ *--help=" "" ""
check_for_options c "--help=joined,undocumented" "" "" "" check_for_options c "--help=joined,undocumented" "" "" ""
# Listing only excludes gives empty results. # Listing only excludes gives empty results.
check_for_options c "--help=^joined,^separate" "" "" "" check_for_options c "--help=^joined,^separate" "" "" ""
......
...@@ -47,28 +47,31 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt ...@@ -47,28 +47,31 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt
set gcc_output [gcc_target_compile $filename.c $filename.x executable $gcc_options] set gcc_output [gcc_target_compile $filename.c $filename.x executable $gcc_options]
remote_file build delete $filename.c $filename.x $filename.gcno remote_file build delete $filename.c $filename.x $filename.gcno
# Verify that COMPILER_PATTERRNS appear in gcc output.
foreach pattern [split $compiler_patterns "\n"] { foreach pattern [split $compiler_patterns "\n"] {
if {$pattern != ""} { if {$pattern != ""} {
if {[regexp -- "$pattern" $gcc_output]} { if {[regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern" pass "$test $pattern"
} else { } else {
if {$expected_failure != ""} { if {$expected_failure != ""} {
xfail "$test $pattern" xfail "$test \"$pattern\" present in output"
} else { } else {
fail "$test $pattern" fail "$test \"$pattern\" present in output"
} }
} }
} }
} }
# Verify that COMPILER_NON_PATTERRNS do not appear in gcc output.
foreach pattern [split $compiler_non_patterns "\n"] { foreach pattern [split $compiler_non_patterns "\n"] {
if {$pattern != ""} { if {$pattern != ""} {
if {![regexp -- "$pattern" $gcc_output]} { if {![regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern" pass "$test $pattern"
} else { } else {
if {$expected_failure != ""} { if {$expected_failure != ""} {
xfail "$test $pattern" xfail "$test \"$pattern\" absent from output"
} else { } else {
fail "$test $pattern" fail "$test \"$pattern\" absent from output"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment