Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
bcd86433
Commit
bcd86433
authored
Sep 30, 1996
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CPP_CPU_SPEC): New. Added for defining the submodel.
From-SVN: r12876
parent
22b519d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
8 deletions
+30
-8
gcc/config/i386/i386.h
+30
-8
No files found.
gcc/config/i386/i386.h
View file @
bcd86433
...
@@ -164,7 +164,7 @@ extern int target_flags;
...
@@ -164,7 +164,7 @@ extern int target_flags;
#define TARGET_USE_Q_REG (ix86_cpu == PROCESSOR_PENTIUM \
#define TARGET_USE_Q_REG (ix86_cpu == PROCESSOR_PENTIUM \
|| ix86_cpu == PROCESSOR_PENTIUMPRO)
|| ix86_cpu == PROCESSOR_PENTIUMPRO)
#define TARGET_USE_ANY_REG (ix86_cpu == PROCESSOR_I486)
#define TARGET_USE_ANY_REG (ix86_cpu == PROCESSOR_I486)
#define TARGET_CMOVE (ix86_
isa
== PROCESSOR_PENTIUMPRO)
#define TARGET_CMOVE (ix86_
arch
== PROCESSOR_PENTIUMPRO)
#define TARGET_DEEP_BRANCH_PREDICTION (ix86_cpu == PROCESSOR_PENTIUMPRO)
#define TARGET_DEEP_BRANCH_PREDICTION (ix86_cpu == PROCESSOR_PENTIUMPRO)
#define TARGET_STACK_PROBE (target_flags & MASK_STACK_PROBE)
#define TARGET_STACK_PROBE (target_flags & MASK_STACK_PROBE)
...
@@ -227,11 +227,7 @@ enum processor_type
...
@@ -227,11 +227,7 @@ enum processor_type
extern
enum
processor_type
ix86_cpu
;
extern
enum
processor_type
ix86_cpu
;
extern
int
ix86_isa
;
extern
int
ix86_arch
;
/* Define generic processor types based upon current deployment. */
#define PROCESSOR_COMMON PROCESSOR_I386
#define PROCESSOR_COMMON_STRING PROCESSOR_I386_STRING
/* Define the default processor. This is overridden by other tm.h files. */
/* Define the default processor. This is overridden by other tm.h files. */
#define PROCESSOR_DEFAULT \
#define PROCESSOR_DEFAULT \
...
@@ -262,7 +258,7 @@ extern int ix86_isa;
...
@@ -262,7 +258,7 @@ extern int ix86_isa;
by appending `-m' to the specified name. */
by appending `-m' to the specified name. */
#define TARGET_OPTIONS \
#define TARGET_OPTIONS \
{ { "cpu=", &ix86_cpu_string}, \
{ { "cpu=", &ix86_cpu_string}, \
{ "arch=", &ix86_
isa
_string}, \
{ "arch=", &ix86_
arch
_string}, \
{ "reg-alloc=", &i386_reg_alloc_order }, \
{ "reg-alloc=", &i386_reg_alloc_order }, \
{ "regparm=", &i386_regparm_string }, \
{ "regparm=", &i386_regparm_string }, \
{ "align-loops=", &i386_align_loops_string }, \
{ "align-loops=", &i386_align_loops_string }, \
...
@@ -305,6 +301,32 @@ extern int ix86_isa;
...
@@ -305,6 +301,32 @@ extern int ix86_isa;
%{mpentiumpro:-mcpu=pentiumpro}}"
%{mpentiumpro:-mcpu=pentiumpro}}"
#endif
#endif
#ifndef CPP_CPU_SPEC
#define CPP_CPU_SPEC "\
-Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386) \
%{mcpu=i486:-Di486} %{m486:-Di486} \
%{mpentium:-Dpentium -Di586} %{mcpu=pentium:-Dpentium -Di586} \
%{mpentiumpro:-Dpentiumpro -Di686} %{mcpu=pentiumpro:-Dpentiumpro -Di686}"
#endif
/* This macro defines names of additional specifications to put in the specs
that can be used in various specifications like CC1_SPEC. Its definition
is an initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
specification name, and a string constant that used by the GNU CC driver
program.
Do not define this macro if it does not need to do anything. */
#ifndef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS
#endif
#define EXTRA_SPECS \
{ "cpp_cpu", CPP_CPU_SPEC }, \
SUBTARGET_EXTRA_SPECS
/* target machine storage layout */
/* target machine storage layout */
/* Define for XFmode extended real floating point support.
/* Define for XFmode extended real floating point support.
...
@@ -2637,7 +2659,7 @@ extern void rewrite_address ();
...
@@ -2637,7 +2659,7 @@ extern void rewrite_address ();
/* Variables in i386.c */
/* Variables in i386.c */
extern
char
*
ix86_cpu_string
;
/* for -mcpu=<xxx> */
extern
char
*
ix86_cpu_string
;
/* for -mcpu=<xxx> */
extern
char
*
ix86_
isa_string
;
/* for -mcpu
=<xxx> */
extern
char
*
ix86_
arch_string
;
/* for -march
=<xxx> */
extern
char
*
i386_reg_alloc_order
;
/* register allocation order */
extern
char
*
i386_reg_alloc_order
;
/* register allocation order */
extern
char
*
i386_regparm_string
;
/* # registers to use to pass args */
extern
char
*
i386_regparm_string
;
/* # registers to use to pass args */
extern
char
*
i386_align_loops_string
;
/* power of two alignment for loops */
extern
char
*
i386_align_loops_string
;
/* power of two alignment for loops */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment