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
d1460eef
Commit
d1460eef
authored
Sep 08, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch
register as early clobbered when dest is in memory. From-SVN: r5290
parent
0ff76398
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/config/mips/mips.md
+6
-2
No files found.
gcc/config/mips/mips.md
View file @
d1460eef
...
...
@@ -1475,10 +1475,14 @@ move\\t%0,%z4\\n\\
;;
;; ....................
;; The SImode scratch register can not be shared with address regs used for
;; operand zero, because then the address in the move instruction will be
;; clobbered. We mark the scratch register as early clobbered to prevent this.
(define_insn "fix_truncdfsi2"
[
(set (match_operand:SI 0 "general_operand" "=d,
*
f,R,o")
(fix:SI (match_operand:DF 1 "register_operand" "f,
*
f,f,f")))
(clobber (match_scratch:SI 2 "=d,
*
d,
d,
d"))
(clobber (match_scratch:SI 2 "=d,
*
d,
&d,&
d"))
(clobber (match_scratch:DF 3 "=f,
*
X,f,f"))]
"TARGET_HARD_FLOAT"
"
*
...
...
@@ -1503,7 +1507,7 @@ move\\t%0,%z4\\n\\
(define_insn "fix_truncsfsi2"
[
(set (match_operand:SI 0 "general_operand" "=d,
*
f,R,o")
(fix:SI (match_operand:SF 1 "register_operand" "f,
*
f,f,f")))
(clobber (match_scratch:SI 2 "=d,
*
d,
d,
d"))
(clobber (match_scratch:SI 2 "=d,
*
d,
&d,&
d"))
(clobber (match_scratch:SF 3 "=f,
*
X,f,f"))]
"TARGET_HARD_FLOAT"
"
*
...
...
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