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
291b0f34
Commit
291b0f34
authored
Apr 12, 1994
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove LSHIFT case, since there is no LSHIFT tree code.
From-SVN: r7039
parent
8b3e912b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/config/i386/i386.c
+2
-2
No files found.
gcc/config/i386/i386.c
View file @
291b0f34
...
@@ -1480,7 +1480,7 @@ print_operand_address (file, addr)
...
@@ -1480,7 +1480,7 @@ print_operand_address (file, addr)
/* Set the cc_status for the results of an insn whose pattern is EXP.
/* Set the cc_status for the results of an insn whose pattern is EXP.
On the 80386, we assume that only test and compare insns, as well
On the 80386, we assume that only test and compare insns, as well
as SI, HI, & DI mode ADD, SUB, NEG, AND, IOR, XOR, ASHIFT,
LSHIFT,
as SI, HI, & DI mode ADD, SUB, NEG, AND, IOR, XOR, ASHIFT,
ASHIFTRT, and LSHIFTRT instructions set the condition codes usefully.
ASHIFTRT, and LSHIFTRT instructions set the condition codes usefully.
Also, we assume that jumps, moves and sCOND don't affect the condition
Also, we assume that jumps, moves and sCOND don't affect the condition
codes. All else clobbers the condition codes, by assumption.
codes. All else clobbers the condition codes, by assumption.
...
@@ -1548,7 +1548,7 @@ notice_update_cc (exp)
...
@@ -1548,7 +1548,7 @@ notice_update_cc (exp)
switch
(
GET_CODE
(
SET_SRC
(
exp
)))
switch
(
GET_CODE
(
SET_SRC
(
exp
)))
{
{
case
ASHIFTRT
:
case
LSHIFTRT
:
case
ASHIFTRT
:
case
LSHIFTRT
:
case
ASHIFT
:
case
LSHIFT
:
case
ASHIFT
:
/* Shifts on the 386 don't set the condition codes if the
/* Shifts on the 386 don't set the condition codes if the
shift count is zero. */
shift count is zero. */
if
(
GET_CODE
(
XEXP
(
SET_SRC
(
exp
),
1
))
!=
CONST_INT
)
if
(
GET_CODE
(
XEXP
(
SET_SRC
(
exp
),
1
))
!=
CONST_INT
)
...
...
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