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
d38cfc1e
Commit
d38cfc1e
authored
Mar 03, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r387
parent
bbf6f052
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
gcc/config/vax/vax.h
+10
-0
gcc/config/vax/vax.md
+5
-4
No files found.
gcc/config/vax/vax.h
View file @
d38cfc1e
...
@@ -283,6 +283,16 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
...
@@ -283,6 +283,16 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
|| (VALUE) == CONST0_RTX (SFmode)) \
|| (VALUE) == CONST0_RTX (SFmode)) \
: 0)
: 0)
/* Optional extra constraints for this machine.
For the VAX, `Q' means that OP is a MEM that does not have a mode-dependent
address. */
#define EXTRA_CONSTRAINT(OP, C) \
((C) == 'Q' \
? GET_CODE (OP) == MEM && ! mode_dependent_address_p (XEXP (OP, 0)) \
: 0)
/* Given an rtx X being reloaded into a reg required to be
/* Given an rtx X being reloaded into a reg required to be
in class CLASS, return the class of reg to actually use.
in class CLASS, return the class of reg to actually use.
In general this is just CLASS; but on some machines
In general this is just CLASS; but on some machines
...
...
gcc/config/vax/vax.md
View file @
d38cfc1e
...
@@ -1465,13 +1465,14 @@
...
@@ -1465,13 +1465,14 @@
"j%C0 %l1") ; %C0 negates condition
"j%C0 %l1") ; %C0 negates condition
;; Recognize jbs, jlbs, jbc and jlbc instructions. Note that the operand
;; Recognize jbs, jlbs, jbc and jlbc instructions. Note that the operand
;; if this insn is SImode in the hardware. However, if it is memory,
;; of jlbs and jlbc insns are SImode in the hardware. However, if it is
;; we use QImode. So we can't allow the memory address to be indexed.
;; memory, we use QImode in the insn. So we can't use those instructions
;; for mode-dependent addresses.
(define_insn ""
(define_insn ""
[
(set (pc)
[
(set (pc)
(if_then_else
(if_then_else
(ne (zero_extract:SI (match_operand:QI 0 "
reg_or_nxmem_operand" "g
,g")
(ne (zero_extract:SI (match_operand:QI 0 "
nonimmediate_operand" "rQ
,g")
(const_int 1)
(const_int 1)
(match_operand:SI 1 "general_operand" "I,g"))
(match_operand:SI 1 "general_operand" "I,g"))
(const_int 0))
(const_int 0))
...
@@ -1485,7 +1486,7 @@
...
@@ -1485,7 +1486,7 @@
(define_insn ""
(define_insn ""
[
(set (pc)
[
(set (pc)
(if_then_else
(if_then_else
(eq (zero_extract:SI (match_operand:QI 0 "
reg_or_nxmem_operand" "g
,g")
(eq (zero_extract:SI (match_operand:QI 0 "
nonimmediate_operand" "rQ
,g")
(const_int 1)
(const_int 1)
(match_operand:SI 1 "general_operand" "I,g"))
(match_operand:SI 1 "general_operand" "I,g"))
(const_int 0))
(const_int 0))
...
...
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