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
26406018
Commit
26406018
authored
Apr 18, 2002
by
Richard Henderson
Committed by
Richard Henderson
Apr 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/ia64/ia64.md (trap, conditional_trap): New.
From-SVN: r52487
parent
a3acf46d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
gcc/ChangeLog
+4
-0
gcc/config/ia64/ia64.md
+31
-0
No files found.
gcc/ChangeLog
View file @
26406018
2002-04-18 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.md (trap, conditional_trap): New.
2002-04-18 Jakub Jelinek <jakub@redhat.com>
PR c/6358
...
...
gcc/config/ia64/ia64.md
View file @
26406018
...
...
@@ -5045,6 +5045,37 @@
[
(set_attr "itanium_class" "stop_bit")
(set_attr "predicable" "no")])
(define_expand "trap"
[
(trap_if (const_int 1) (const_int 0))
]
""
"")
;; ??? We don't have a match-any slot type. Setting the type to unknown
;; produces worse code that setting the slot type to A.
(define_insn "
*
trap"
[
(trap_if (const_int 1) (match_operand 0 "const_int_operand" ""))
]
""
"break %0"
[
(set_attr "itanium_class" "chk_s")
]
)
(define_expand "conditional_trap"
[
(trap_if (match_operand 0 "" "") (match_operand 1 "" ""))
]
""
{
operands
[
0
]
= ia64_expand_compare (GET_CODE (operands
[
0
]
), VOIDmode);
})
(define_insn "
*
conditional_trap"
[
(trap_if (match_operator 0 "predicate_operator"
[
(match_operand:BI 1 "register_operand" "c")
(const_int 0)])
(match_operand 2 "const_int_operand" ""))]
""
"(%j0) break %2"
[
(set_attr "itanium_class" "chk_s")
(set_attr "predicable" "no")])
(define_insn "break_f"
[
(unspec_volatile [(const_int 0)
]
3)]
""
...
...
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