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
7b7a33b3
Commit
7b7a33b3
authored
Dec 18, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_asm_operands): Handle numeric constraints in
with the default case. From-SVN: r10803
parent
4b6ba2ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gcc/stmt.c
+12
-2
No files found.
gcc/stmt.c
View file @
7b7a33b3
...
...
@@ -1427,7 +1427,6 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
break
;
case
'?'
:
case
'!'
:
case
'*'
:
case
'%'
:
case
'&'
:
case
'0'
:
case
'1'
:
case
'2'
:
case
'3'
:
case
'4'
:
case
'V'
:
case
'm'
:
case
'o'
:
case
'<'
:
case
'>'
:
case
'E'
:
case
'F'
:
case
'G'
:
case
'H'
:
case
'X'
:
case
's'
:
case
'i'
:
case
'n'
:
...
...
@@ -1439,6 +1438,12 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
break
;
case
'p'
:
case
'g'
:
case
'r'
:
/* Whether or not a numeric constraint allows a register is
decided by the matching constraint, and so there is no need
to do anything special with them. We must handle them in
the default case, so that we don't unnecessarily force
operands to memory. */
case
'0'
:
case
'1'
:
case
'2'
:
case
'3'
:
case
'4'
:
default
:
allows_reg
=
1
;
break
;
...
...
@@ -1543,8 +1548,13 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
#endif
break
;
case
'0'
:
case
'1'
:
case
'2'
:
case
'3'
:
case
'4'
:
case
'p'
:
case
'g'
:
case
'r'
:
/* Whether or not a numeric constraint allows a register is
decided by the matching constraint, and so there is no need
to do anything special with them. We must handle them in
the default case, so that we don't unnecessarily force
operands to memory. */
case
'0'
:
case
'1'
:
case
'2'
:
case
'3'
:
case
'4'
:
default
:
allows_reg
=
1
;
break
;
...
...
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