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
7c5f52db
Commit
7c5f52db
authored
Feb 10, 2000
by
Nick Clifton
Committed by
Nick Clifton
Feb 10, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include a (return) in the epilogue, and emit it using emit_jump_insn not
emit_insn. From-SVN: r31899
parent
44affdae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+6
-0
gcc/config/arm/thumb.md
+6
-3
No files found.
gcc/ChangeLog
View file @
7c5f52db
2000
-
02
-
10
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
thumb
.
md
(
epilogue
)
:
Include
a
(
return
)
in
the
generated
insn
,
and
emit
it
using
emit_jump_insn
not
emit_insn
.
Thu
Feb
10
18
:
28
:
59
MET
2000
Jan
Hubicka
<
jh
@suse
.
cz
>
*
function
.
c
(
assign_temp
)
:
Change
zero
-
sized
arrays
to
size
1
.
...
...
gcc/config/arm/thumb.md
View file @
7c5f52db
...
...
@@ -622,7 +622,7 @@
;; register. Trying to reload it will always fail catastrophically,
;; so never allow those alternatives to match if reloading is needed.
(define_insn "addsi3"
[
(set (match_operand:SI 0 "register_operand" "=l,l,l,
*r,*
h,l,!k")
[
(set (match_operand:SI
0 "register_operand" "=l,l,l,
*r,*
h,l,!k")
(plus:SI (match_operand:SI 1 "register_operand" "%0,0,l,
*0,*
0,!k,!k")
(match_operand:SI 2 "nonmemory_operand" "I,J,lL,
*h,*
r,!M,!O")))]
""
...
...
@@ -1107,14 +1107,17 @@
")
(define_expand "epilogue"
[
(unspec_volatile [(
const_int 0
)
]
1)]
[
(unspec_volatile [(
return
)
]
1)]
"! thumb_trivial_epilogue ()"
"
thumb_expand_epilogue ();
emit_jump_insn (gen_rtx_UNSPEC_VOLATILE (VOIDmode,
gen_rtvec (1, gen_rtx_RETURN (VOIDmode)), 1));
DONE;
")
(define_insn "
*
epilogue_insns"
[
(unspec_volatile [(
const_int 0
)
]
1)]
[
(unspec_volatile [(
return
)
]
1)]
""
"
*
return thumb_unexpanded_epilogue ();
...
...
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