URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [arm/] [arm.opt] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
; Options for the ARM port of the compiler.; Copyright (C) 2005, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.;; This file is part of GCC.;; 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; Software Foundation; either version 3, or (at your option) any later; version.;; GCC is distributed in the hope that it will be useful, but WITHOUT ANY; WARRANTY; without even the implied warranty of MERCHANTABILITY or; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License; for more details.;; You should have received a copy of the GNU General Public License; along with GCC; see the file COPYING3. If not see; <http://www.gnu.org/licenses/>.HeaderIncludeconfig/arm/arm-opts.hEnumName(tls_type) Type(enum arm_tls_type)TLS dialect to use:EnumValueEnum(tls_type) String(gnu) Value(TLS_GNU)EnumValueEnum(tls_type) String(gnu2) Value(TLS_GNU2)mabi=Target RejectNegative Joined Enum(arm_abi_type) Var(arm_abi) Init(ARM_DEFAULT_ABI)Specify an ABIEnumName(arm_abi_type) Type(enum arm_abi_type)Known ARM ABIs (for use with the -mabi= option):EnumValueEnum(arm_abi_type) String(apcs-gnu) Value(ARM_ABI_APCS)EnumValueEnum(arm_abi_type) String(atpcs) Value(ARM_ABI_ATPCS)EnumValueEnum(arm_abi_type) String(aapcs) Value(ARM_ABI_AAPCS)EnumValueEnum(arm_abi_type) String(iwmmxt) Value(ARM_ABI_IWMMXT)EnumValueEnum(arm_abi_type) String(aapcs-linux) Value(ARM_ABI_AAPCS_LINUX)mabort-on-noreturnTarget Report Mask(ABORT_NORETURN)Generate a call to abort if a noreturn function returnsmapcsTarget RejectNegative Mask(APCS_FRAME) MaskExists Undocumentedmapcs-floatTarget Report Mask(APCS_FLOAT)Pass FP arguments in FP registersmapcs-frameTarget Report Mask(APCS_FRAME)Generate APCS conformant stack framesmapcs-reentrantTarget Report Mask(APCS_REENT)Generate re-entrant, PIC codemapcs-stack-checkTarget Report Mask(APCS_STACK) Undocumentedmarch=Target RejectNegative Joined Enum(arm_arch) Var(arm_arch_option)Specify the name of the target architecture; Other arm_arch values are loaded from arm-tables.opt; but that is a generated file and this is an odd-one-out.EnumValueEnum(arm_arch) String(native) Value(-1) DriverOnlymarmTarget Report RejectNegative InverseMask(THUMB)Generate code in 32 bit ARM state.mbig-endianTarget Report RejectNegative Mask(BIG_END)Assume target CPU is configured as big endianmcallee-super-interworkingTarget Report Mask(CALLEE_INTERWORKING)Thumb: Assume non-static functions may be called from ARM codemcaller-super-interworkingTarget Report Mask(CALLER_INTERWORKING)Thumb: Assume function pointers may go to non-Thumb aware codemcirrus-fix-invalid-insnsTarget Report Mask(CIRRUS_FIX_INVALID_INSNS)Cirrus: Place NOPs to avoid invalid instruction combinationsmcpu=Target RejectNegative Joined Enum(processor_type) Var(arm_cpu_option) Init(arm_none)Specify the name of the target CPUmfloat-abi=Target RejectNegative Joined Enum(float_abi_type) Var(arm_float_abi) Init(TARGET_DEFAULT_FLOAT_ABI)Specify if floating point hardware should be usedEnumName(float_abi_type) Type(enum float_abi_type)Known floating-point ABIs (for use with the -mfloat-abi= option):EnumValueEnum(float_abi_type) String(soft) Value(ARM_FLOAT_ABI_SOFT)EnumValueEnum(float_abi_type) String(softfp) Value(ARM_FLOAT_ABI_SOFTFP)EnumValueEnum(float_abi_type) String(hard) Value(ARM_FLOAT_ABI_HARD)mfp=2Target RejectNegative Undocumented Alias(mfpu=, fpe2)mfp=3Target RejectNegative Undocumented Alias(mfpu=, fpe3)mfp16-format=Target RejectNegative Joined Enum(arm_fp16_format_type) Var(arm_fp16_format) Init(ARM_FP16_FORMAT_NONE)Specify the __fp16 floating-point formatEnumName(arm_fp16_format_type) Type(enum arm_fp16_format_type)Known __fp16 formats (for use with the -mfp16-format= option):EnumValueEnum(arm_fp16_format_type) String(none) Value(ARM_FP16_FORMAT_NONE)EnumValueEnum(arm_fp16_format_type) String(ieee) Value(ARM_FP16_FORMAT_IEEE)EnumValueEnum(arm_fp16_format_type) String(alternative) Value(ARM_FP16_FORMAT_ALTERNATIVE);; Now ignored.mfpeTarget RejectNegative Mask(FPE) Undocumentedmfpe=2Target RejectNegative Undocumented Alias(mfpu=, fpe2)mfpe=3Target RejectNegative Undocumented Alias(mfpu=, fpe3)mfpu=Target RejectNegative Joined Enum(arm_fpu) Var(arm_fpu_index)Specify the name of the target floating point hardware/formatmhard-floatTarget RejectNegative Alias(mfloat-abi=, hard) Undocumentedmlittle-endianTarget Report RejectNegative InverseMask(BIG_END)Assume target CPU is configured as little endianmlong-callsTarget Report Mask(LONG_CALLS)Generate call insns as indirect calls, if necessarympic-register=Target RejectNegative Joined Var(arm_pic_register_string)Specify the register to be used for PIC addressingmpoke-function-nameTarget Report Mask(POKE_FUNCTION_NAME)Store function names in object codemsched-prologTarget Report Mask(SCHED_PROLOG)Permit scheduling of a function's prologue sequencemsingle-pic-baseTarget Report Mask(SINGLE_PIC_BASE)Do not load the PIC register in function prologuesmsoft-floatTarget RejectNegative Alias(mfloat-abi=, soft) Undocumentedmstructure-size-boundary=Target RejectNegative Joined UInteger Var(arm_structure_size_boundary) Init(DEFAULT_STRUCTURE_SIZE_BOUNDARY)Specify the minimum bit alignment of structuresmthumbTarget Report RejectNegative Mask(THUMB)Generate code for Thumb statemthumb-interworkTarget Report Mask(INTERWORK)Support calls between Thumb and ARM instruction setsmtls-dialect=Target RejectNegative Joined Enum(tls_type) Var(target_tls_dialect) Init(TLS_GNU)Specify thread local storage schememtp=Target RejectNegative Joined Enum(arm_tp_type) Var(target_thread_pointer) Init(TP_AUTO)Specify how to access the thread pointerEnumName(arm_tp_type) Type(enum arm_tp_type)Valid arguments to -mtp=:EnumValueEnum(arm_tp_type) String(soft) Value(TP_SOFT)EnumValueEnum(arm_tp_type) String(auto) Value(TP_AUTO)EnumValueEnum(arm_tp_type) String(cp15) Value(TP_CP15)mtpcs-frameTarget Report Mask(TPCS_FRAME)Thumb: Generate (non-leaf) stack frames even if not neededmtpcs-leaf-frameTarget Report Mask(TPCS_LEAF_FRAME)Thumb: Generate (leaf) stack frames even if not neededmtune=Target RejectNegative Joined Enum(processor_type) Var(arm_tune_option) Init(arm_none)Tune code for the given processor; Other processor_type values are loaded from arm-tables.opt; but that is a generated file and this is an odd-one-out.EnumValueEnum(processor_type) String(native) Value(-1) DriverOnlymwords-little-endianTarget Report RejectNegative Mask(LITTLE_WORDS)Assume big endian bytes, little endian words. This option is deprecated.mvectorize-with-neon-quadTarget Report RejectNegative InverseMask(NEON_VECTORIZE_DOUBLE)Use Neon quad-word (rather than double-word) registers for vectorizationmvectorize-with-neon-doubleTarget Report RejectNegative Mask(NEON_VECTORIZE_DOUBLE)Use Neon double-word (rather than quad-word) registers for vectorizationmword-relocationsTarget Report Var(target_word_relocations) Init(TARGET_DEFAULT_WORD_RELOCATIONS)Only generate absolute relocations on word sized values.mfix-cortex-m3-ldrdTarget Report Var(fix_cm3_ldrd) Init(2)Avoid overlapping destination and address registers on LDRD instructionsthat may trigger Cortex-M3 errata.munaligned-accessTarget Report Var(unaligned_access) Init(2)Enable unaligned word and halfword accesses to packed data.
Go to most recent revision | Compare with Previous | Blame | View Log
