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
5dee33ac
Commit
5dee33ac
authored
Feb 06, 1995
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use GEN_INT.
From-SVN: r8871
parent
6500b83f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/config/pa/pa.md
+3
-3
No files found.
gcc/config/pa/pa.md
View file @
5dee33ac
...
@@ -1928,11 +1928,11 @@
...
@@ -1928,11 +1928,11 @@
else if (GET_CODE (op1) == CONST_DOUBLE)
else if (GET_CODE (op1) == CONST_DOUBLE)
{
{
operands
[
0
]
= operand_subword (op0, 1, 0, DImode);
operands
[
0
]
= operand_subword (op0, 1, 0, DImode);
operands
[
1
]
=
gen_rtx (CONST_INT, VOIDmode,
CONST_DOUBLE_LOW (op1));
operands
[
1
]
=
GEN_INT (
CONST_DOUBLE_LOW (op1));
output_asm_insn (
\"
ldil L'%1,%0
\"
, operands);
output_asm_insn (
\"
ldil L'%1,%0
\"
, operands);
operands[0] = operand_subword (op0, 0, 0, DImode);
operands[0] = operand_subword (op0, 0, 0, DImode);
operands[1] =
gen_rtx (CONST_INT, VOIDmode,
CONST_DOUBLE_HIGH (op1));
operands[1] =
GEN_INT (
CONST_DOUBLE_HIGH (op1));
output_asm_insn (singlemove_string (operands), operands);
output_asm_insn (singlemove_string (operands), operands);
return \"\";
return \"\";
}
}
...
@@ -1987,7 +1987,7 @@
...
@@ -1987,7 +1987,7 @@
/
*
Don't output a 64 bit constant, since we can't trust the assembler to
/
*
Don't output a 64 bit constant, since we can't trust the assembler to
handle it correctly.
*
/
handle it correctly.
*
/
if (GET_CODE (operands
[
2
]
) == CONST_DOUBLE)
if (GET_CODE (operands
[
2
]
) == CONST_DOUBLE)
operands
[
2
]
=
gen_rtx (CONST_INT, VOIDmode,
CONST_DOUBLE_LOW (operands
[
2
]
));
operands
[
2
]
=
GEN_INT (
CONST_DOUBLE_LOW (operands
[
2
]
));
if (which_alternative == 1)
if (which_alternative == 1)
output_asm_insn (
\"
copy %1,%0
\"
, operands);
output_asm_insn (
\"
copy %1,%0
\"
, operands);
return
\"
ldo R'%G2(%R1),%R0
\"
;
return
\"
ldo R'%G2(%R1),%R0
\"
;
...
...
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