OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [config/] [sh/] [sh.opt] - Diff between revs 282 and 338

Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 338
; Options for the SH port of the compiler.
; Options for the SH port of the compiler.
; Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
; Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;
;
; This file is part of GCC.
; This file is part of GCC.
;
;
; GCC is free software; you can redistribute it and/or modify it under
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; Software Foundation; either version 3, or (at your option) any later
; version.
; version.
;
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
; for more details.
;
;
; You should have received a copy of the GNU General Public License
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3.  If not see
; along with GCC; see the file COPYING3.  If not see
; .
; .
;; Used for various architecture options.
;; Used for various architecture options.
Mask(SH_E)
Mask(SH_E)
;; Set if the default precision of th FPU is single.
;; Set if the default precision of th FPU is single.
Mask(FPU_SINGLE)
Mask(FPU_SINGLE)
;; Set if we should generate code using type 2A insns.
;; Set if we should generate code using type 2A insns.
Mask(HARD_SH2A)
Mask(HARD_SH2A)
;; Set if we should generate code using type 2A DF insns.
;; Set if we should generate code using type 2A DF insns.
Mask(HARD_SH2A_DOUBLE)
Mask(HARD_SH2A_DOUBLE)
;; Set if compiling for SH4 hardware (to be used for insn costs etc.)
;; Set if compiling for SH4 hardware (to be used for insn costs etc.)
Mask(HARD_SH4)
Mask(HARD_SH4)
;; Set if we should generate code for a SH5 CPU (either ISA).
;; Set if we should generate code for a SH5 CPU (either ISA).
Mask(SH5)
Mask(SH5)
;; Set if we should save all target registers.
;; Set if we should save all target registers.
Mask(SAVE_ALL_TARGET_REGS)
Mask(SAVE_ALL_TARGET_REGS)
m1
m1
Target RejectNegative Mask(SH1) Condition(SUPPORT_SH1)
Target RejectNegative Mask(SH1) Condition(SUPPORT_SH1)
Generate SH1 code
Generate SH1 code
m2
m2
Target RejectNegative Mask(SH2) Condition(SUPPORT_SH2)
Target RejectNegative Mask(SH2) Condition(SUPPORT_SH2)
Generate SH2 code
Generate SH2 code
m2a
m2a
Target RejectNegative Condition(SUPPORT_SH2A)
Target RejectNegative Condition(SUPPORT_SH2A)
Generate default double-precision SH2a-FPU code
Generate default double-precision SH2a-FPU code
m2a-nofpu
m2a-nofpu
Target RejectNegative Condition(SUPPORT_SH2A_NOFPU)
Target RejectNegative Condition(SUPPORT_SH2A_NOFPU)
Generate SH2a FPU-less code
Generate SH2a FPU-less code
m2a-single
m2a-single
Target RejectNegative Condition(SUPPORT_SH2A_SINGLE)
Target RejectNegative Condition(SUPPORT_SH2A_SINGLE)
Generate default single-precision SH2a-FPU code
Generate default single-precision SH2a-FPU code
m2a-single-only
m2a-single-only
Target RejectNegative Condition(SUPPORT_SH2A_SINGLE_ONLY)
Target RejectNegative Condition(SUPPORT_SH2A_SINGLE_ONLY)
Generate only single-precision SH2a-FPU code
Generate only single-precision SH2a-FPU code
m2e
m2e
Target RejectNegative Condition(SUPPORT_SH2E)
Target RejectNegative Condition(SUPPORT_SH2E)
Generate SH2e code
Generate SH2e code
m3
m3
Target RejectNegative Mask(SH3) Condition(SUPPORT_SH3)
Target RejectNegative Mask(SH3) Condition(SUPPORT_SH3)
Generate SH3 code
Generate SH3 code
m3e
m3e
Target RejectNegative Condition(SUPPORT_SH3E)
Target RejectNegative Condition(SUPPORT_SH3E)
Generate SH3e code
Generate SH3e code
m4
m4
Target RejectNegative Mask(SH4) Condition(SUPPORT_SH4)
Target RejectNegative Mask(SH4) Condition(SUPPORT_SH4)
Generate SH4 code
Generate SH4 code
m4-100
m4-100
Target RejectNegative Condition(SUPPORT_SH4)
Target RejectNegative Condition(SUPPORT_SH4)
Generate SH4-100 code
Generate SH4-100 code
m4-200
m4-200
Target RejectNegative Condition(SUPPORT_SH4)
Target RejectNegative Condition(SUPPORT_SH4)
Generate SH4-200 code
Generate SH4-200 code
;; TARGET_SH4_300 indicates if we have the ST40-300 instruction set and
;; TARGET_SH4_300 indicates if we have the ST40-300 instruction set and
;; pipeline - irrespective of ABI.
;; pipeline - irrespective of ABI.
m4-300
m4-300
Target RejectNegative Condition(SUPPORT_SH4) Var(TARGET_SH4_300)
Target RejectNegative Condition(SUPPORT_SH4) Var(TARGET_SH4_300)
Generate SH4-300 code
Generate SH4-300 code
m4-nofpu
m4-nofpu
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate SH4 FPU-less code
Generate SH4 FPU-less code
m4-100-nofpu
m4-100-nofpu
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate SH4-100 FPU-less code
Generate SH4-100 FPU-less code
m4-200-nofpu
m4-200-nofpu
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate SH4-200 FPU-less code
Generate SH4-200 FPU-less code
m4-300-nofpu
m4-300-nofpu
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists
Generate SH4-300 FPU-less code
Generate SH4-300 FPU-less code
m4-340
m4-340
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists
Generate code for SH4 340 series (MMU/FPU-less)
Generate code for SH4 340 series (MMU/FPU-less)
;; passes -isa=sh4-nommu-nofpu to the assembler.
;; passes -isa=sh4-nommu-nofpu to the assembler.
m4-400
m4-400
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate code for SH4 400 series (MMU/FPU-less)
Generate code for SH4 400 series (MMU/FPU-less)
;; passes -isa=sh4-nommu-nofpu to the assembler.
;; passes -isa=sh4-nommu-nofpu to the assembler.
m4-500
m4-500
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate code for SH4 500 series (FPU-less).
Generate code for SH4 500 series (FPU-less).
;; passes -isa=sh4-nofpu to the assembler.
;; passes -isa=sh4-nofpu to the assembler.
m4-single
m4-single
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Generate default single-precision SH4 code
Generate default single-precision SH4 code
m4-100-single
m4-100-single
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Generate default single-precision SH4-100 code
Generate default single-precision SH4-100 code
m4-200-single
m4-200-single
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Generate default single-precision SH4-200 code
Generate default single-precision SH4-200 code
m4-300-single
m4-300-single
Target RejectNegative Condition(SUPPORT_SH4_SINGLE) Var(TARGET_SH4_300) VarExists
Target RejectNegative Condition(SUPPORT_SH4_SINGLE) Var(TARGET_SH4_300) VarExists
Generate default single-precision SH4-300 code
Generate default single-precision SH4-300 code
m4-single-only
m4-single-only
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Generate only single-precision SH4 code
Generate only single-precision SH4 code
m4-100-single-only
m4-100-single-only
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Generate only single-precision SH4-100 code
Generate only single-precision SH4-100 code
m4-200-single-only
m4-200-single-only
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Generate only single-precision SH4-200 code
Generate only single-precision SH4-200 code
m4-300-single-only
m4-300-single-only
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY) Var(TARGET_SH4_300) VarExists
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY) Var(TARGET_SH4_300) VarExists
Generate only single-precision SH4-300 code
Generate only single-precision SH4-300 code
m4a
m4a
Target RejectNegative Mask(SH4A) Condition(SUPPORT_SH4A)
Target RejectNegative Mask(SH4A) Condition(SUPPORT_SH4A)
Generate SH4a code
Generate SH4a code
m4a-nofpu
m4a-nofpu
Target RejectNegative Condition(SUPPORT_SH4A_NOFPU)
Target RejectNegative Condition(SUPPORT_SH4A_NOFPU)
Generate SH4a FPU-less code
Generate SH4a FPU-less code
m4a-single
m4a-single
Target RejectNegative Condition(SUPPORT_SH4A_SINGLE)
Target RejectNegative Condition(SUPPORT_SH4A_SINGLE)
Generate default single-precision SH4a code
Generate default single-precision SH4a code
m4a-single-only
m4a-single-only
Target RejectNegative Condition(SUPPORT_SH4A_SINGLE_ONLY)
Target RejectNegative Condition(SUPPORT_SH4A_SINGLE_ONLY)
Generate only single-precision SH4a code
Generate only single-precision SH4a code
m4al
m4al
Target RejectNegative Condition(SUPPORT_SH4AL)
Target RejectNegative Condition(SUPPORT_SH4AL)
Generate SH4al-dsp code
Generate SH4al-dsp code
m5-32media
m5-32media
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA)
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA)
Generate 32-bit SHmedia code
Generate 32-bit SHmedia code
m5-32media-nofpu
m5-32media-nofpu
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA_NOFPU)
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA_NOFPU)
Generate 32-bit FPU-less SHmedia code
Generate 32-bit FPU-less SHmedia code
m5-64media
m5-64media
Target RejectNegative Condition(SUPPORT_SH5_64MEDIA)
Target RejectNegative Condition(SUPPORT_SH5_64MEDIA)
Generate 64-bit SHmedia code
Generate 64-bit SHmedia code
m5-64media-nofpu
m5-64media-nofpu
Target RejectNegative Condition(SUPPORT_SH5_64MEDIA_NOFPU)
Target RejectNegative Condition(SUPPORT_SH5_64MEDIA_NOFPU)
Generate 64-bit FPU-less SHmedia code
Generate 64-bit FPU-less SHmedia code
m5-compact
m5-compact
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA)
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA)
Generate SHcompact code
Generate SHcompact code
m5-compact-nofpu
m5-compact-nofpu
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA_NOFPU)
Target RejectNegative Condition(SUPPORT_SH5_32MEDIA_NOFPU)
Generate FPU-less SHcompact code
Generate FPU-less SHcompact code
madjust-unroll
madjust-unroll
Target Report Mask(ADJUST_UNROLL) Condition(SUPPORT_ANY_SH5)
Target Report Mask(ADJUST_UNROLL) Condition(SUPPORT_ANY_SH5)
Throttle unrolling to avoid thrashing target registers unless the unroll benefit outweighs this
Throttle unrolling to avoid thrashing target registers unless the unroll benefit outweighs this
mb
mb
Target Report RejectNegative InverseMask(LITTLE_ENDIAN)
Target Report RejectNegative InverseMask(LITTLE_ENDIAN)
Generate code in big endian mode
Generate code in big endian mode
mbigtable
mbigtable
Target Report RejectNegative Mask(BIGTABLE)
Target Report RejectNegative Mask(BIGTABLE)
Generate 32-bit offsets in switch tables
Generate 32-bit offsets in switch tables
mbitops
mbitops
Target Report RejectNegative Mask(BITOPS)
Target Report RejectNegative Mask(BITOPS)
Generate bit instructions
Generate bit instructions
mbranch-cost=
mbranch-cost=
Target RejectNegative Joined UInteger Var(sh_branch_cost) Init(-1)
Target RejectNegative Joined UInteger Var(sh_branch_cost) Init(-1)
Cost to assume for a branch insn
Cost to assume for a branch insn
mcbranchdi
mcbranchdi
Target Var(TARGET_CBRANCHDI4)
Target Var(TARGET_CBRANCHDI4)
Enable cbranchdi4 pattern
Enable cbranchdi4 pattern
mcmpeqdi
mcmpeqdi
Target Var(TARGET_CMPEQDI_T)
Target Var(TARGET_CMPEQDI_T)
Emit cmpeqdi_t pattern even when -mcbranchdi is in effect.
Emit cmpeqdi_t pattern even when -mcbranchdi is in effect.
mcut2-workaround
mcut2-workaround
Target RejectNegative Var(TARGET_SH5_CUT2_WORKAROUND)
Target RejectNegative Var(TARGET_SH5_CUT2_WORKAROUND)
Enable SH5 cut2 workaround
Enable SH5 cut2 workaround
mdalign
mdalign
Target Report RejectNegative Mask(ALIGN_DOUBLE)
Target Report RejectNegative Mask(ALIGN_DOUBLE)
Align doubles at 64-bit boundaries
Align doubles at 64-bit boundaries
mdiv=
mdiv=
Target RejectNegative Joined Var(sh_div_str) Init("")
Target RejectNegative Joined Var(sh_div_str) Init("")
Division strategy, one of: call, call2, fp, inv, inv:minlat, inv20u, inv20l, inv:call, inv:call2, inv:fp, call-div1, call-fp, call-table
Division strategy, one of: call, call2, fp, inv, inv:minlat, inv20u, inv20l, inv:call, inv:call2, inv:fp, call-div1, call-fp, call-table
mdivsi3_libfunc=
mdivsi3_libfunc=
Target RejectNegative Joined Var(sh_divsi3_libfunc) Init("")
Target RejectNegative Joined Var(sh_divsi3_libfunc) Init("")
Specify name for 32 bit signed division function
Specify name for 32 bit signed division function
mfmovd
mfmovd
Target RejectNegative Mask(FMOVD)
Target RejectNegative Mask(FMOVD)
Enable the use of 64-bit floating point registers in fmov instructions.  See -mdalign if 64-bit alignment is required.
Enable the use of 64-bit floating point registers in fmov instructions.  See -mdalign if 64-bit alignment is required.
mfixed-range=
mfixed-range=
Target RejectNegative Joined Var(sh_fixed_range_str)
Target RejectNegative Joined Var(sh_fixed_range_str)
Specify range of registers to make fixed
Specify range of registers to make fixed
mfused-madd
mfused-madd
Target Var(TARGET_FMAC)
Target Var(TARGET_FMAC)
Enable the use of the fused floating point multiply-accumulate operation
Enable the use of the fused floating point multiply-accumulate operation
mgettrcost=
mgettrcost=
Target RejectNegative Joined UInteger Var(sh_gettrcost) Init(-1)
Target RejectNegative Joined UInteger Var(sh_gettrcost) Init(-1)
Cost to assume for gettr insn
Cost to assume for gettr insn
mhitachi
mhitachi
Target Report RejectNegative Mask(HITACHI)
Target Report RejectNegative Mask(HITACHI)
Follow Renesas (formerly Hitachi) / SuperH calling conventions
Follow Renesas (formerly Hitachi) / SuperH calling conventions
mieee
mieee
Target Report Mask(IEEE)
Target Report Mask(IEEE)
Increase the IEEE compliance for floating-point code
Increase the IEEE compliance for floating-point code
mindexed-addressing
mindexed-addressing
Target Report Mask(ALLOW_INDEXED_ADDRESS) Condition(SUPPORT_ANY_SH5_32MEDIA)
Target Report Mask(ALLOW_INDEXED_ADDRESS) Condition(SUPPORT_ANY_SH5_32MEDIA)
Enable the use of the indexed addressing mode for SHmedia32/SHcompact
Enable the use of the indexed addressing mode for SHmedia32/SHcompact
minline-ic_invalidate
minline-ic_invalidate
Target Report Var(TARGET_INLINE_IC_INVALIDATE)
Target Report Var(TARGET_INLINE_IC_INVALIDATE)
inline code to invalidate instruction cache entries after setting up nested function trampolines
inline code to invalidate instruction cache entries after setting up nested function trampolines
minvalid-symbols
minvalid-symbols
Target Report Mask(INVALID_SYMBOLS) Condition(SUPPORT_ANY_SH5)
Target Report Mask(INVALID_SYMBOLS) Condition(SUPPORT_ANY_SH5)
Assume symbols might be invalid
Assume symbols might be invalid
misize
misize
Target Report RejectNegative Mask(DUMPISIZE)
Target Report RejectNegative Mask(DUMPISIZE)
Annotate assembler instructions with estimated addresses
Annotate assembler instructions with estimated addresses
ml
ml
Target Report RejectNegative Mask(LITTLE_ENDIAN)
Target Report RejectNegative Mask(LITTLE_ENDIAN)
Generate code in little endian mode
Generate code in little endian mode
mnomacsave
mnomacsave
Target Report RejectNegative Mask(NOMACSAVE)
Target Report RejectNegative Mask(NOMACSAVE)
Mark MAC register as call-clobbered
Mark MAC register as call-clobbered
;; ??? This option is not useful, but is retained in case there are people
;; ??? This option is not useful, but is retained in case there are people
;; who are still relying on it.  It may be deleted in the future.
;; who are still relying on it.  It may be deleted in the future.
mpadstruct
mpadstruct
Target Report RejectNegative Mask(PADSTRUCT)
Target Report RejectNegative Mask(PADSTRUCT)
Make structs a multiple of 4 bytes (warning: ABI altered)
Make structs a multiple of 4 bytes (warning: ABI altered)
mprefergot
mprefergot
Target Report RejectNegative Mask(PREFERGOT)
Target Report RejectNegative Mask(PREFERGOT)
Emit function-calls using global offset table when generating PIC
Emit function-calls using global offset table when generating PIC
mpt-fixed
mpt-fixed
Target Report Mask(PT_FIXED) Condition(SUPPORT_ANY_SH5)
Target Report Mask(PT_FIXED) Condition(SUPPORT_ANY_SH5)
Assume pt* instructions won't trap
Assume pt* instructions won't trap
mrelax
mrelax
Target Report RejectNegative Mask(RELAX)
Target Report RejectNegative Mask(RELAX)
Shorten address references during linking
Shorten address references during linking
mrenesas
mrenesas
Target Mask(HITACHI) MaskExists
Target Mask(HITACHI) MaskExists
Follow Renesas (formerly Hitachi) / SuperH calling conventions
Follow Renesas (formerly Hitachi) / SuperH calling conventions
mspace
mspace
Target Report RejectNegative Mask(SMALLCODE)
Target Report RejectNegative Mask(SMALLCODE)
Deprecated.  Use -Os instead
Deprecated.  Use -Os instead
multcost=
multcost=
Target RejectNegative Joined UInteger Var(sh_multcost) Init(-1)
Target RejectNegative Joined UInteger Var(sh_multcost) Init(-1)
Cost to assume for a multiply insn
Cost to assume for a multiply insn
musermode
musermode
Target Report RejectNegative Mask(USERMODE)
Target Report RejectNegative Mask(USERMODE)
Don't generate privileged-mode only code; implies -mno-inline-ic_invalidate if the inline code would not work in user mode.
Don't generate privileged-mode only code; implies -mno-inline-ic_invalidate if the inline code would not work in user mode.
;; We might want to enable this by default for TARGET_HARD_SH4, because
;; We might want to enable this by default for TARGET_HARD_SH4, because
;; zero-offset branches have zero latency.  Needs some benchmarking.
;; zero-offset branches have zero latency.  Needs some benchmarking.
mpretend-cmove
mpretend-cmove
Target Var(TARGET_PRETEND_CMOVE)
Target Var(TARGET_PRETEND_CMOVE)
Pretend a branch-around-a-move is a conditional move.
Pretend a branch-around-a-move is a conditional move.
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.