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
0f05dcc2
Commit
0f05dcc2
authored
Dec 17, 1995
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.md: Add 2nd reload peephole somehow omitted from Nov27 changes.
From-SVN: r10791
parent
041d7180
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
gcc/config/pa/pa.md
+34
-0
No files found.
gcc/config/pa/pa.md
View file @
0f05dcc2
...
@@ -4769,6 +4769,40 @@
...
@@ -4769,6 +4769,40 @@
return
\"\"
;
return
\"\"
;
}")
}")
(define_peephole
[
(set (match_operand 0 "register_operand" "f")
(match_operand 1 "reg_or_nonsymb_mem_operand" ""))
(set (match_operand 2 "register_operand" "f")
(match_dup 1))]
"! TARGET_SOFT_FLOAT
&& GET_CODE (operands
[
1
]
) == MEM
&& ! MEM_VOLATILE_P (operands
[
1
]
)
&& GET_MODE (operands
[
0
]
) == GET_MODE (operands
[
1
]
)
&& GET_MODE (operands
[
0
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
0
]
) == DFmode
&& REGNO_REG_CLASS (REGNO (operands
[
1
]
))
== REGNO_REG_CLASS (REGNO (operands
[
2
]
))"
"
*
{
enum machine_mode mode = GET_MODE (operands
[
0
]
);
rtx xoperands
[
2
]
;
if (FP_REG_P (operands
[
0
]
))
output_asm_insn (output_fp_move_double (operands), operands);
else
output_asm_insn (output_move_double (operands), operands);
xoperands
[
0
]
= operands
[
2
]
;
xoperands
[
1
]
= operands
[
0
]
;
if (FP_REG_P (xoperands
[
1
]
))
output_asm_insn (output_fp_move_double (xoperands), xoperands);
else
output_asm_insn (output_move_double (xoperands), xoperands);
return
\"\"
;
}")
;; Flush the I and D cache line found at the address in operand 0.
;; Flush the I and D cache line found at the address in operand 0.
;; This is used by the trampoline code for nested functions.
;; This is used by the trampoline code for nested functions.
;; So long as the trampoline itself is less than 32 bytes this
;; So long as the trampoline itself is less than 32 bytes this
...
...
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