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
33c1d53a
Commit
33c1d53a
authored
Mar 18, 1997
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE
From-SVN: r13738
parent
03fc1620
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
gcc/config/i386/i386.h
+23
-4
No files found.
gcc/config/i386/i386.h
View file @
33c1d53a
...
...
@@ -79,8 +79,8 @@ extern int target_flags;
/* Masks for the -m switches */
#define MASK_80387 000000000001
/* Hardware floating point */
#define MASK_
486 000000000002
/* 80486 specific
*/
#define MASK_NOTUSED
1
000000000004
/* bit not currently used */
#define MASK_
NOTUSED1 000000000002
/* bit not currently used
*/
#define MASK_NOTUSED
2
000000000004
/* bit not currently used */
#define MASK_RTD 000000000010
/* Use ret that pops args */
#define MASK_ALIGN_DOUBLE 000000000020
/* align doubles to 2 word boundary */
#define MASK_SVR3_SHLIB 000000000040
/* Uninit locals into bss */
...
...
@@ -303,12 +303,31 @@ extern int ix86_arch;
#endif
#ifndef CPP_CPU_SPEC
#ifdef __STDC__
#if TARGET_CPU_DEFAULT == 0
#define CPP_CPU_DEFAULT ""
#elif TARGET_CPU_DEFAULT == 1
#define CPP_CPU_DEFAULT "-Di486"
#elif TARGET_CPU_DEFAULT == 2
#define CPP_CPU_DEFAULT "-Di586"
#elif TARGET_CPU_DEFAULT == 3
#define CPP_CPU_DEFAULT "-Di686"
#endif
/* TARGET_CPU_DEFAULT */
#define CPP_CPU_SPEC "\
-Di386 " CPP_CPU_DEFAULT " -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}"
#else
#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
#endif
/* __STDC__ */
#endif
/* CPP_CPU_SPEC */
/* This macro defines names of additional specifications to put in the specs
that can be used in various specifications like CC1_SPEC. Its definition
...
...
@@ -373,7 +392,7 @@ extern int ix86_arch;
#define PARM_BOUNDARY 32
/* Boundary (in *bits*) on which stack pointer should be aligned. */
#define STACK_BOUNDARY
32
#define STACK_BOUNDARY
(TARGET_ALIGN_DOUBLE ? 64 : 32)
/* Allocation boundary (in *bits*) for the code of a function.
For i486, we get better performance by aligning to a cache
...
...
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