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
b3b1e8bd
Commit
b3b1e8bd
authored
Mar 02, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_operand): Use output_operand_lossage, not abort.
From-SVN: r3610
parent
46b68a37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/config/sparc/sparc.c
+5
-5
No files found.
gcc/config/sparc/sparc.c
View file @
b3b1e8bd
...
@@ -2659,13 +2659,13 @@ print_operand (file, x, code)
...
@@ -2659,13 +2659,13 @@ print_operand (file, x, code)
case
'Y'
:
case
'Y'
:
/* Adjust the operand to take into account a RESTORE operation. */
/* Adjust the operand to take into account a RESTORE operation. */
if
(
GET_CODE
(
x
)
!=
REG
)
if
(
GET_CODE
(
x
)
!=
REG
)
abort
(
);
output_operand_lossage
(
"Invalid %%Y operand"
);
if
(
REGNO
(
x
)
<
8
)
else
if
(
REGNO
(
x
)
<
8
)
fputs
(
reg_names
[
REGNO
(
x
)],
file
);
fputs
(
reg_names
[
REGNO
(
x
)],
file
);
else
if
(
REGNO
(
x
)
>=
24
&&
REGNO
(
x
)
<
32
)
else
if
(
REGNO
(
x
)
>=
24
&&
REGNO
(
x
)
<
32
)
fputs
(
reg_names
[
REGNO
(
x
)
-
16
],
file
);
fputs
(
reg_names
[
REGNO
(
x
)
-
16
],
file
);
else
else
abort
(
);
output_operand_lossage
(
"Invalid %%Y operand"
);
return
;
return
;
case
'R'
:
case
'R'
:
/* Print out the second register name of a register pair or quad.
/* Print out the second register name of a register pair or quad.
...
@@ -2704,7 +2704,7 @@ print_operand (file, x, code)
...
@@ -2704,7 +2704,7 @@ print_operand (file, x, code)
case
IOR
:
fputs
(
"or"
,
file
);
break
;
case
IOR
:
fputs
(
"or"
,
file
);
break
;
case
AND
:
fputs
(
"and"
,
file
);
break
;
case
AND
:
fputs
(
"and"
,
file
);
break
;
case
XOR
:
fputs
(
"xor"
,
file
);
break
;
case
XOR
:
fputs
(
"xor"
,
file
);
break
;
default
:
abort
(
);
default
:
output_operand_lossage
(
"Invalid %%A operand"
);
}
}
return
;
return
;
...
@@ -2714,7 +2714,7 @@ print_operand (file, x, code)
...
@@ -2714,7 +2714,7 @@ print_operand (file, x, code)
case
IOR
:
fputs
(
"orn"
,
file
);
break
;
case
IOR
:
fputs
(
"orn"
,
file
);
break
;
case
AND
:
fputs
(
"andn"
,
file
);
break
;
case
AND
:
fputs
(
"andn"
,
file
);
break
;
case
XOR
:
fputs
(
"xnor"
,
file
);
break
;
case
XOR
:
fputs
(
"xnor"
,
file
);
break
;
default
:
abort
(
);
default
:
output_operand_lossage
(
"Invalid %%B operand"
);
}
}
return
;
return
;
...
...
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