comparison gcc/config/riscv/riscv.opt @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ; Options for the RISC-V port of the compiler 1 ; Options for the RISC-V port of the compiler
2 ; 2 ;
3 ; Copyright (C) 2011-2017 Free Software Foundation, Inc. 3 ; Copyright (C) 2011-2018 Free Software Foundation, Inc.
4 ; 4 ;
5 ; This file is part of GCC. 5 ; This file is part of GCC.
6 ; 6 ;
7 ; GCC is free software; you can redistribute it and/or modify it under 7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free 8 ; the terms of the GNU General Public License as published by the Free
31 31
32 mabi= 32 mabi=
33 Target Report RejectNegative Joined Enum(abi_type) Var(riscv_abi) Init(ABI_ILP32) 33 Target Report RejectNegative Joined Enum(abi_type) Var(riscv_abi) Init(ABI_ILP32)
34 Specify integer and floating-point calling convention. 34 Specify integer and floating-point calling convention.
35 35
36 mpreferred-stack-boundary=
37 Target RejectNegative Joined UInteger Var(riscv_preferred_stack_boundary_arg)
38 Attempt to keep stack aligned to this power of 2.
39
36 Enum 40 Enum
37 Name(abi_type) Type(enum riscv_abi_type) 41 Name(abi_type) Type(enum riscv_abi_type)
38 Supported ABIs (for use with the -mabi= option): 42 Supported ABIs (for use with the -mabi= option):
39 43
40 EnumValue 44 EnumValue
41 Enum(abi_type) String(ilp32) Value(ABI_ILP32) 45 Enum(abi_type) String(ilp32) Value(ABI_ILP32)
46
47 EnumValue
48 Enum(abi_type) String(ilp32e) Value(ABI_ILP32E)
42 49
43 EnumValue 50 EnumValue
44 Enum(abi_type) String(ilp32f) Value(ABI_ILP32F) 51 Enum(abi_type) String(ilp32f) Value(ABI_ILP32F)
45 52
46 EnumValue 53 EnumValue
100 107
101 mexplicit-relocs 108 mexplicit-relocs
102 Target Report Mask(EXPLICIT_RELOCS) 109 Target Report Mask(EXPLICIT_RELOCS)
103 Use %reloc() operators, rather than assembly macros, to load addresses. 110 Use %reloc() operators, rather than assembly macros, to load addresses.
104 111
112 mrelax
113 Target Bool Var(riscv_mrelax) Init(1)
114 Take advantage of linker relaxations to reduce the number of instructions
115 required to materialize symbol addresses.
116
105 Mask(64BIT) 117 Mask(64BIT)
106 118
107 Mask(MUL) 119 Mask(MUL)
108 120
109 Mask(ATOMIC) 121 Mask(ATOMIC)
111 Mask(HARD_FLOAT) 123 Mask(HARD_FLOAT)
112 124
113 Mask(DOUBLE_FLOAT) 125 Mask(DOUBLE_FLOAT)
114 126
115 Mask(RVC) 127 Mask(RVC)
128
129 Mask(RVE)