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
3a5babac
Commit
3a5babac
authored
Jul 02, 1992
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1390
parent
51c2b9d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
gcc/config/pa/pa.c
+21
-0
No files found.
gcc/config/pa/pa.c
View file @
3a5babac
...
...
@@ -315,6 +315,25 @@ arith5_operand (op, mode)
return
register_operand
(
op
,
mode
)
||
int5_operand
(
op
,
mode
);
}
/* True iff zdepi can be used to generate this CONST_INT. */
zdepi_operand
(
op
,
mode
)
rtx
op
;
enum
machine_mode
mode
;
{
unsigned
x
;
unsigned
lbmask
,
t
;
if
(
GET_CODE
(
op
)
!=
CONST_INT
)
return
0
;
/* This might not be obvious, but it's at least fast.
This function is critcal; we don't have the time loops would take. */
x
=
INTVAL
(
op
);
lbmask
=
x
&
-
x
;
t
=
((
x
>>
4
)
+
lbmask
)
&
~
(
lbmask
-
1
);
return
((
t
&
(
t
-
1
))
==
0
);
}
/* Return truth value of statement that OP is a call-clobbered register. */
int
clobbered_register
(
op
,
mode
)
...
...
@@ -621,6 +640,8 @@ emit_move_sequence (operands, mode)
return
1
;
}
}
else
if
(
zdepi_operand
(
operand1
,
VOIDmode
))
return
0
;
else
if
(
GET_CODE
(
operand1
)
==
CONST_INT
?
(
!
SMALL_INT
(
operand1
)
&&
(
INTVAL
(
operand1
)
&
0x7ff
)
!=
0
)
:
1
)
...
...
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