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
b76e0b76
Commit
b76e0b76
authored
Nov 03, 1992
by
Chris Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't use psh.w sp
From-SVN: r2683
parent
15158440
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/config/convex/convex.h
+4
-1
gcc/config/convex/convex.md
+8
-0
No files found.
gcc/config/convex/convex.h
View file @
b76e0b76
...
...
@@ -315,7 +315,10 @@ enum reg_class {
/* S regs use the letter 'd' because 's' is taken. */
#define REG_CLASS_FROM_LETTER(C) \
((C) == 'a' ? A_REGS : (C) == 'd' ? S_REGS : NO_REGS)
((C) == 'a' ? A_REGS : \
(C) == 'd' ? S_REGS : \
(C) == 'A' ? INDEX_REGS : \
NO_REGS)
/* The letters I, J, K, L and M in a register constraint string
can be used to stand for particular ranges of immediate operands.
...
...
gcc/config/convex/convex.md
View file @
b76e0b76
...
...
@@ -250,6 +250,14 @@
"")
(define_insn ""
[
(set (match_operand:SI 0 "push_operand" "=<,<")
(match_operand:SI 1 "general_operand" "Ad,io"))]
""
"@
psh.w %1
pshea %a1")
(define_insn ""
[
(set (match_operand:SI 0 "general_operand" "=g,r,<")
(match_operand:SI 1 "general_operand" "r,g,io"))]
"TARGET_INDIRECTS"
...
...
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