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
985b3bdd
Commit
985b3bdd
authored
May 05, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r896
parent
61abc2ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
gcc/config/vax/vax.h
+20
-9
No files found.
gcc/config/vax/vax.h
View file @
985b3bdd
...
@@ -1183,15 +1183,20 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
...
@@ -1183,15 +1183,20 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
/* Print an instruction operand X on file FILE.
/* Print an instruction operand X on file FILE.
CODE is the code from the %-spec that requested printing this operand;
CODE is the code from the %-spec that requested printing this operand;
if `%z3' was used to print operand 3, then CODE is 'z'.
if `%z3' was used to print operand 3, then CODE is 'z'.
On the Vax, the codes used are:
`#', indicating that either `d' or `g' should be printed,
VAX operand formatting codes:
depending on whether we're using dfloat or gfloat.
`C', indicating the reverse of the condition name specified by the
letter print
operand.
C reverse branch condition
`P', indicating one plus a constant operand
B the low 8 bits of the complement of a constant operand
`N', indicating the one's complement of a constant operand
H the low 16 bits of the complement of a constant operand
`H', indicating the low-order 16 bits of the one's complement of a constant
M (1 << const) - 1
`B', similarly for the low-order 8 bits. */
N the complement of a constant integer operand
P constant operand plus 1
R 32 - constant operand
b the low 8 bits of a negated constant operand
h the low 16 bits of a negated constant operand
# 'd' or 'g' depending on whether dfloat or gfloat is used */
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) \
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) \
((CODE) == '#')
((CODE) == '#')
...
@@ -1210,8 +1215,14 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
...
@@ -1210,8 +1215,14 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
fprintf (FILE, "$%d", 32 - INTVAL (X)); \
fprintf (FILE, "$%d", 32 - INTVAL (X)); \
else if (CODE == 'H' && GET_CODE (X) == CONST_INT) \
else if (CODE == 'H' && GET_CODE (X) == CONST_INT) \
fprintf (FILE, "$%d", 0xffff & ~ INTVAL (X)); \
fprintf (FILE, "$%d", 0xffff & ~ INTVAL (X)); \
else if (CODE == 'h' && GET_CODE (X) == CONST_INT) \
fprintf (FILE, "$%d", (short) - INTVAL (x)); \
else if (CODE == 'B' && GET_CODE (X) == CONST_INT) \
else if (CODE == 'B' && GET_CODE (X) == CONST_INT) \
fprintf (FILE, "$%d", 0xff & ~ INTVAL (X)); \
fprintf (FILE, "$%d", 0xff & ~ INTVAL (X)); \
else if (CODE == 'b' && GET_CODE (X) == CONST_INT) \
fprintf (FILE, "$%d", 0xff & - INTVAL (X)); \
else if (CODE == 'M' && GET_CODE (X) == CONST_INT) \
fprintf (FILE, "$%d", ~((1 << INTVAL (x)) - 1)); \
else if (GET_CODE (X) == REG) \
else if (GET_CODE (X) == REG) \
fprintf (FILE, "%s", reg_names[REGNO (X)]); \
fprintf (FILE, "%s", reg_names[REGNO (X)]); \
else if (GET_CODE (X) == MEM) \
else if (GET_CODE (X) == MEM) \
...
...
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