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
d462a870
Commit
d462a870
authored
Feb 16, 1999
by
Nick Clifton
Committed by
Nick Clifton
Feb 16, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PlumHall failure - encure that bitfield in zero_extract:QI does not
span a byte boundary. From-SVN: r25237
parent
e227e488
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+5
-0
gcc/config/arm/arm.md
+2
-3
No files found.
gcc/ChangeLog
View file @
d462a870
Tue
Feb
16
09
:
52
:
26
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
arm
.
md
(
zeroextractqi_compare0_scratch
)
:
Ensure
that
bitfield
doe
snot
overflow
a
byte
boundary
.
Tue
Feb
16
01
:
37
:
33
1999
Charles
G
Waldman
<
cgw
@alum
.
mit
.
edu
>
*
c
-
common
.
c
(
shorten_compare
)
:
Get
the
min
/
max
value
from
the
...
...
gcc/config/arm/arm.md
View file @
d462a870
...
...
@@ -1214,8 +1214,8 @@
(match_operand 2 "const_int_operand" "n"))
(const_int 0)))
(clobber (match_scratch:QI 3 "=r"))]
"INTVAL (operands
[
2
]
) >= 0 && INTVAL (operands
[
2
]
) < 8
&& INTVAL (operands
[
1
]
) > 0 && INTVAL (operands
[
1
]
) <= 8
"
"INTVAL (operands
[
2
]
) >= 0 && INTVAL (operands
[
1
]
) > 0 &&
((INTVAL (operands
[
1
]
) + INTVAL (operands
[
2
]
)) <= 8)
"
"
*
{
unsigned int mask = 0;
...
...
@@ -1224,7 +1224,6 @@
while (cnt--)
mask = (mask << 1) | 1;
operands
[
1
]
= GEN_INT (mask << INTVAL (operands
[
2
]
));
output_asm_insn (
\"
ldr%?b
\\
t%3, %0
\"
, operands);
output_asm_insn (
\"
tst%?
\\
t%3, %1
\"
, operands);
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