comparison gcc/config/mmix/mmix.opt @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents a06113de4d67
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 ; Options for the MMIX port of the compiler. 1 ; Options for the MMIX port of the compiler.
2 2
3 ; Copyright (C) 2005, 2007 Free Software Foundation, Inc. 3 ; Copyright (C) 2005-2017 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
19 ; <http://www.gnu.org/licenses/>. 19 ; <http://www.gnu.org/licenses/>.
20 20
21 ; FIXME: Get rid of this one. 21 ; FIXME: Get rid of this one.
22 mlibfuncs 22 mlibfuncs
23 Target Report Mask(LIBFUNC) 23 Target Report Mask(LIBFUNC)
24 For intrinsics library: pass all parameters in registers 24 For intrinsics library: pass all parameters in registers.
25 25
26 mabi=mmixware 26 mabi=mmixware
27 Target Report RejectNegative InverseMask(ABI_GNU) 27 Target Report RejectNegative InverseMask(ABI_GNU)
28 Use register stack for parameters and return value 28 Use register stack for parameters and return value.
29 29
30 mabi=gnu 30 mabi=gnu
31 Target Report RejectNegative Mask(ABI_GNU) 31 Target Report RejectNegative Mask(ABI_GNU)
32 Use call-clobbered registers for parameters and return value 32 Use call-clobbered registers for parameters and return value.
33 33
34 ; FIXME: Provide a way to *load* the epsilon register. 34 ; FIXME: Provide a way to *load* the epsilon register.
35 mepsilon 35 mepsilon
36 Target Report Mask(FCMP_EPSILON) 36 Target Report Mask(FCMP_EPSILON)
37 Use epsilon-respecting floating point compare instructions 37 Use epsilon-respecting floating point compare instructions.
38 38
39 mzero-extend 39 mzero-extend
40 Target Report Mask(ZERO_EXTEND) 40 Target Report Mask(ZERO_EXTEND)
41 Use zero-extending memory loads, not sign-extending ones 41 Use zero-extending memory loads, not sign-extending ones.
42 42
43 mknuthdiv 43 mknuthdiv
44 Target Report Mask(KNUTH_DIVISION) 44 Target Report Mask(KNUTH_DIVISION)
45 Generate divide results with reminder having the same sign as the divisor (not the dividend) 45 Generate divide results with reminder having the same sign as the divisor (not the dividend).
46 46
47 mtoplevel-symbols 47 mtoplevel-symbols
48 Target Report Mask(TOPLEVEL_SYMBOLS) 48 Target Report Mask(TOPLEVEL_SYMBOLS)
49 Prepend global symbols with \":\" (for use with PREFIX) 49 Prepend global symbols with \":\" (for use with PREFIX).
50 50
51 mno-set-program-start 51 mno-set-program-start
52 Target Report RejectNegative 52 Target Report RejectNegative
53 Do not provide a default start-address 0x100 of the program 53 Do not provide a default start-address 0x100 of the program.
54 54
55 melf 55 melf
56 Target Report RejectNegative 56 Target Report RejectNegative
57 Link to emit program in ELF format (rather than mmo) 57 Link to emit program in ELF format (rather than mmo).
58 58
59 mbranch-predict 59 mbranch-predict
60 Target Report RejectNegative Mask(BRANCH_PREDICT) 60 Target Report RejectNegative Mask(BRANCH_PREDICT)
61 Use P-mnemonics for branches statically predicted as taken 61 Use P-mnemonics for branches statically predicted as taken.
62 62
63 mno-branch-predict 63 mno-branch-predict
64 Target Report RejectNegative InverseMask(BRANCH_PREDICT) 64 Target Report RejectNegative InverseMask(BRANCH_PREDICT)
65 Don't use P-mnemonics for branches 65 Don't use P-mnemonics for branches.
66 66
67 ; We use the term "base address" since that's what Knuth uses. The base 67 ; We use the term "base address" since that's what Knuth uses. The base
68 ; address goes in a global register. When addressing, it's more like 68 ; address goes in a global register. When addressing, it's more like
69 ; "base address plus offset", with the offset being 0..255 from the base, 69 ; "base address plus offset", with the offset being 0..255 from the base,
70 ; which itself can be a symbol plus an offset. The effect is like having 70 ; which itself can be a symbol plus an offset. The effect is like having
74 ; specific offset. The setback is that there's a limited number of 74 ; specific offset. The setback is that there's a limited number of
75 ; registers, and you'll not find out until link time whether you 75 ; registers, and you'll not find out until link time whether you
76 ; should have compiled with -mno-base-addresses. 76 ; should have compiled with -mno-base-addresses.
77 mbase-addresses 77 mbase-addresses
78 Target Report RejectNegative Mask(BASE_ADDRESSES) 78 Target Report RejectNegative Mask(BASE_ADDRESSES)
79 Use addresses that allocate global registers 79 Use addresses that allocate global registers.
80 80
81 mno-base-addresses 81 mno-base-addresses
82 Target Report RejectNegative InverseMask(BASE_ADDRESSES) 82 Target Report RejectNegative InverseMask(BASE_ADDRESSES)
83 Do not use addresses that allocate global registers 83 Do not use addresses that allocate global registers.
84 84
85 msingle-exit 85 msingle-exit
86 Target Report RejectNegative InverseMask(USE_RETURN_INSN) 86 Target Report RejectNegative InverseMask(USE_RETURN_INSN)
87 Generate a single exit point for each function 87 Generate a single exit point for each function.
88 88
89 mno-single-exit 89 mno-single-exit
90 Target Report RejectNegative Mask(USE_RETURN_INSN) 90 Target Report RejectNegative Mask(USE_RETURN_INSN)
91 Do not generate a single exit point for each function 91 Do not generate a single exit point for each function.
92 92
93 mset-program-start= 93 mset-program-start=
94 Target Report RejectNegative Joined 94 Target Report RejectNegative Joined
95 Set start-address of the program 95 Set start-address of the program.
96 96
97 mset-data-start= 97 mset-data-start=
98 Target Report RejectNegative Joined 98 Target Report RejectNegative Joined
99 Set start-address of data 99 Set start-address of data.