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
af995bf0
Commit
af995bf0
authored
Jan 17, 2017
by
Uros Bizjak
Committed by
Uros Bizjak
Jan 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i386.h (LIMIT_RELOAD_CLASS): Remove.
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove. From-SVN: r244508
parent
98e92fb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
24 deletions
+4
-24
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.h
+0
-24
No files found.
gcc/ChangeLog
View file @
af995bf0
2017-01-17 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove.
2017-01-16 Jakub Jelinek <jakub@redhat.com>
2017-01-16 Jakub Jelinek <jakub@redhat.com>
PR c/79089
PR c/79089
...
...
gcc/config/i386/i386.h
View file @
af995bf0
...
@@ -1559,30 +1559,6 @@ enum reg_class
...
@@ -1559,30 +1559,6 @@ enum reg_class
#define INDEX_REG_CLASS INDEX_REGS
#define INDEX_REG_CLASS INDEX_REGS
#define BASE_REG_CLASS GENERAL_REGS
#define BASE_REG_CLASS GENERAL_REGS
/* Place additional restrictions on the register class to use when it
is necessary to be able to hold a value of mode MODE in a reload
register for which class CLASS would ordinarily be used.
We avoid classes containing registers from multiple units due to
the limitation in ix86_secondary_memory_needed. We limit these
classes to their "natural mode" single unit register class, depending
on the unit availability.
Please note that reg_class_subset_p is not commutative, so these
conditions mean "... if (CLASS) includes ALL registers from the
register set." */
#define LIMIT_RELOAD_CLASS(MODE, CLASS) \
(((MODE) == QImode && !TARGET_64BIT \
&& reg_class_subset_p (Q_REGS, (CLASS))) ? Q_REGS \
: (((MODE) == SImode || (MODE) == DImode) \
&& reg_class_subset_p (GENERAL_REGS, (CLASS))) ? GENERAL_REGS \
: (SSE_FLOAT_MODE_P (MODE) && TARGET_SSE_MATH \
&& reg_class_subset_p (SSE_REGS, (CLASS))) ? SSE_REGS \
: (X87_FLOAT_MODE_P (MODE) \
&& reg_class_subset_p (FLOAT_REGS, (CLASS))) ? FLOAT_REGS \
: (CLASS))
/* If we are copying between general and FP registers, we need a memory
/* If we are copying between general and FP registers, we need a memory
location. The same is true for SSE and MMX registers. */
location. The same is true for SSE and MMX registers. */
#define SECONDARY_MEMORY_NEEDED(CLASS1, CLASS2, MODE) \
#define SECONDARY_MEMORY_NEEDED(CLASS1, CLASS2, MODE) \
...
...
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