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
c1472fcd
Commit
c1472fcd
authored
33 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r494
parent
2b5044e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
gcc/config/sparc/sparc.md
+16
-13
No files found.
gcc/config/sparc/sparc.md
View file @
c1472fcd
...
...
@@ -975,9 +975,12 @@
""
"
{
if (GET_CODE (operands
[
2
]
) == CONST_INT
&& GET_CODE (operands
[
3
]
) == CONST_INT
&& INTVAL (operands
[
2
]
) / INTVAL (operands
[
3
]
) > 32)
/
*
If the size isn't known, don't emit inline code. output_block_move
would output code that's much slower than the library function.
Also don't output code for large blocks.
*
/
if (GET_CODE (operands
[
2
]
) != CONST_INT
|| GET_CODE (operands
[
3
]
) != CONST_INT
|| INTVAL (operands
[
2
]
) / INTVAL (operands
[
3
]
) > 16)
FAIL;
operands
[
0
]
= copy_to_mode_reg (Pmode, XEXP (operands
[
0
]
, 0));
...
...
@@ -1414,8 +1417,8 @@
{
rtx op2 = operands
[
2
]
;
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
*
g
ive the assembler a chance to pick the move instruction.
*
/
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
.
G
ive the assembler a chance to pick the move instruction.
*
/
if (GET_CODE (op2) == CONST_INT)
{
int sign = INTVAL (op2);
...
...
@@ -1472,8 +1475,8 @@
{
rtx op2 = operands
[
2
]
;
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
.
Give the assembler a chance to pick the move instruction.
*
/
if (GET_CODE (op2) == CONST_INT)
{
int sign = INTVAL (op2);
...
...
@@ -1540,8 +1543,8 @@
{
rtx op2 = operands
[
2
]
;
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
*
g
ive the assembler a chance to pick the move instruction.
*
/
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
.
G
ive the assembler a chance to pick the move instruction.
*
/
if (GET_CODE (op2) == CONST_INT)
{
int sign = INTVAL (op2);
...
...
@@ -1600,8 +1603,8 @@
{
rtx op2 = operands
[
2
]
;
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
*
g
ive the assembler a chance to pick the move instruction.
*
/
/
*
If constant is positive, upper bits zeroed, otherwise unchanged
.
G
ive the assembler a chance to pick the move instruction.
*
/
if (GET_CODE (op2) == CONST_INT)
{
int sign = INTVAL (op2);
...
...
@@ -1660,8 +1663,8 @@
{
rtx op2 = operands
[
2
]
;
/
*
If constant is postive, upper bits zeroed, otherwise unchanged
*
g
ive the assembler a chance to pick the move instruction.
*
/
/
*
If constant is postive, upper bits zeroed, otherwise unchanged
.
G
ive the assembler a chance to pick the move instruction.
*
/
if (GET_CODE (op2) == CONST_INT)
{
int sign = INTVAL (op2);
...
...
This diff is collapsed.
Click to expand it.
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