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
2b1c08f5
Commit
2b1c08f5
authored
May 24, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
May 24, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* i386.c (incdec_operand): Accept only 1 and -1.
From-SVN: r42527
parent
6f56d925
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.c
+1
-11
No files found.
gcc/ChangeLog
View file @
2b1c08f5
Thu
May
24
15
:
56
:
48
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
i386
.
c
(
incdec_operand
)
:
Accept
only
1
and
-
1
.
2001
-
05
-
23
Kelley
Cook
<
kelley
.
cook
@home
.
com
>
2001
-
05
-
23
Kelley
Cook
<
kelley
.
cook
@home
.
com
>
*
Makefile
.
in
:
Move
many
of
the
*
_H
definitions
eariler
in
the
*
Makefile
.
in
:
Move
many
of
the
*
_H
definitions
eariler
in
the
...
...
gcc/config/i386/i386.c
View file @
2b1c08f5
...
@@ -1420,17 +1420,7 @@ incdec_operand (op, mode)
...
@@ -1420,17 +1420,7 @@ incdec_operand (op, mode)
registers, since carry flag is not set. */
registers, since carry flag is not set. */
if
(
TARGET_PENTIUM4
&&
!
optimize_size
)
if
(
TARGET_PENTIUM4
&&
!
optimize_size
)
return
0
;
return
0
;
if
(
op
==
const1_rtx
||
op
==
constm1_rtx
)
return
op
==
const1_rtx
||
op
==
constm1_rtx
;
return
1
;
if
(
GET_CODE
(
op
)
!=
CONST_INT
)
return
0
;
if
(
mode
==
SImode
&&
INTVAL
(
op
)
==
(
HOST_WIDE_INT
)
0xffffffff
)
return
1
;
if
(
mode
==
HImode
&&
INTVAL
(
op
)
==
(
HOST_WIDE_INT
)
0xffff
)
return
1
;
if
(
mode
==
QImode
&&
INTVAL
(
op
)
==
(
HOST_WIDE_INT
)
0xff
)
return
1
;
return
0
;
}
}
/* Return nonzero if OP is acceptable as operand of DImode shift
/* Return nonzero if OP is acceptable as operand of DImode shift
...
...
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