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
68f4edf0
Commit
68f4edf0
authored
Jun 14, 2001
by
Richard Henderson
Committed by
Richard Henderson
Jun 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/mips/mips.md (exception_receiver): New.
From-SVN: r43379
parent
894b7c63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletions
+26
-1
gcc/ChangeLog
+4
-0
gcc/config/mips/mips.md
+22
-1
No files found.
gcc/ChangeLog
View file @
68f4edf0
2001
-
06
-
14
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
mips
/
mips
.
md
(
exception_receiver
)
:
New
.
2001
-
06
-
14
Daniel
J
.
Berlin
<
dan
@cgsoftware
.
com
>
*
doc
/
gcc
.
texi
:
Update
passes
documentation
to
be
more
in
tune
...
...
gcc/config/mips/mips.md
View file @
68f4edf0
...
...
@@ -30,13 +30,14 @@
;; Number USE
;; 0 movsi_ul
;; 1 movsi_us, get_fnaddr
;; 2 loadgp
;; 3 eh_set_return
;; 20 builtin_setjmp_setup
;;
;; UNSPEC_VOLATILE values
;; 0 blockage
;; 2 loadgp
;; 3 builtin_longjmp
;; 4 exception_receiver
;; 10 consttable_qi
;; 11 consttable_hi
;; 12 consttable_si
...
...
@@ -9571,6 +9572,26 @@ ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\;j\\t%2"
operands
[
0
]
);
DONE;
}")
(define_insn "exception_receiver"
[
(unspec_volatile [(const_int 0)
]
4)]
"TARGET_ABICALLS && (mips_abi == ABI_32 || mips_abi == ABI_O64)"
"
*
{
rtx loc;
operands
[
0
]
= pic_offset_table_rtx;
if (frame_pointer_needed)
loc = hard_frame_pointer_rtx;
else
loc = stack_pointer_rtx;
loc = plus_constant (loc, current_frame_info.args_size);
operands
[
1
]
= gen_rtx_MEM (Pmode, loc);
return mips_move_1word (operands, insn, 0);
}"
[
(set_attr "type" "load")
(set_attr "length" "8")])
;;
;; ....................
...
...
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