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
0a90c336
Commit
0a90c336
authored
Jan 22, 1996
by
David Edelsohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Pmode and cleanup
From-SVN: r11083
parent
45537677
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
gcc/config/rs6000/rs6000.h
+6
-9
No files found.
gcc/config/rs6000/rs6000.h
View file @
0a90c336
...
...
@@ -1655,10 +1655,7 @@ typedef struct rs6000_args
#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \
{ if (LEGITIMATE_INDIRECT_ADDRESS_P (X)) \
goto ADDR; \
if (GET_CODE (X) == PRE_INC \
&& LEGITIMATE_INDIRECT_ADDRESS_P (XEXP (X, 0))) \
goto ADDR; \
if (GET_CODE (X) == PRE_DEC \
if ((GET_CODE (X) == PRE_INC || GET_CODE (X) == PRE_DEC) \
&& LEGITIMATE_INDIRECT_ADDRESS_P (XEXP (X, 0))) \
goto ADDR; \
if (LEGITIMATE_CONSTANT_POOL_ADDRESS_P (X)) \
...
...
@@ -1705,9 +1702,9 @@ typedef struct rs6000_args
low_int = INTVAL (XEXP (X, 1)) & 0xffff; \
if (low_int & 0x8000) \
high_int += 1, low_int |= 0xffff0000; \
(X) = gen_rtx (PLUS,
SI
mode, \
(X) = gen_rtx (PLUS,
P
mode, \
force_operand \
(gen_rtx (PLUS,
SI
mode, XEXP (X, 0), \
(gen_rtx (PLUS,
P
mode, XEXP (X, 0), \
gen_rtx (CONST_INT, VOIDmode, \
high_int << 16)), 0), \
gen_rtx (CONST_INT, VOIDmode, low_int)); \
...
...
@@ -1718,8 +1715,8 @@ typedef struct rs6000_args
&& (TARGET_HARD_FLOAT || (MODE) != DFmode) \
&& (MODE) != DImode && (MODE) != TImode) \
{ \
(X) = gen_rtx (PLUS,
SI
mode, XEXP (X, 0), \
force_reg (
SI
mode, force_operand (XEXP (X, 1), 0))); \
(X) = gen_rtx (PLUS,
P
mode, XEXP (X, 0), \
force_reg (
P
mode, force_operand (XEXP (X, 1), 0))); \
goto WIN; \
} \
else if (TARGET_ELF && !TARGET_64BIT && TARGET_NO_TOC \
...
...
@@ -1763,7 +1760,7 @@ typedef struct rs6000_args
/* Specify the machine mode that this machine uses
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE
SImode
#define CASE_VECTOR_MODE
(TARGET_64BIT ? DImode : SImode)
/* Define this if the tablejump instruction expects the table
to contain offsets from the address of the table.
...
...
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