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
09835ed2
Commit
09835ed2
authored
Apr 03, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r676
parent
89d825c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
gcc/caller-save.c
+10
-0
gcc/config/m88k/m88k.md
+4
-12
No files found.
gcc/caller-save.c
View file @
09835ed2
...
...
@@ -522,6 +522,16 @@ insert_save_restore (insn, save_p, regno, insn_mode)
enum
insn_code
code
;
int
i
;
/* A common failure mode if register status is not correct in the RTL
is for this routine to be called with a REGNO we didn't expect to
save. That will cause us to write an insn with a (nil) SET_DEST
or SET_SRC. Instead of doing so and causing a crash later, check
for this common case and abort here instead. This will remove one
step in debugging such problems. */
if
(
regno_save_mem
[
regno
]
==
0
)
abort
();
/* If INSN is a CALL_INSN, we must insert our insns before any
USE insns in front of the CALL_INSN. */
...
...
gcc/config/m88k/m88k.md
View file @
09835ed2
...
...
@@ -1244,7 +1244,6 @@
;; operand 3 is the offset for the source and destination pointers
;; operand 4 is the first value to be loaded
;; operand 5 is the register to hold the value (r4 or r5)
;; Upon completion, r2 and r3 are unchanged
(define_expand "call_block_move"
[(set (reg:SI 3) (minus:SI (match_operand:SI 2 "register_operand" "r")
...
...
@@ -1255,13 +1254,10 @@
(match_dup 3)))
(use (reg:SI 2))
(use (reg:SI 3))
(use (reg:SI 4))
(use (reg:SI 5))
(use (match_dup 5))
(parallel [(call (mem:SI (match_operand 0 "" ""))
(const_int 0))
(use (reg:SI 1))])
(clobber (reg:SI 4))
(clobber (reg:SI 5))]
(use (reg:SI 1))])]
""
"")
...
...
@@ -1279,15 +1275,11 @@
(set (reg:SI 6) (match_operand:SI 6 "immediate_operand" "i"))
(use (reg:SI 2))
(use (reg:SI 3))
(use (reg:SI 4))
(use (reg:SI 5))
(use (match_dup 5))
(use (reg:SI 6))
(parallel [(call (mem:SI (match_operand 0 "" ""))
(const_int 0))
(use (reg:SI 1))])
(clobber (reg:SI 4))
(clobber (reg:SI 5))
(clobber (reg:SI 6))]
(use (reg:SI 1))])]
""
"")
...
...
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