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
8efb33ec
Commit
8efb33ec
authored
22 years ago
by
Steve Ellcey
Committed by
Steve Ellcey
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
From-SVN: r58694
parent
a543c709
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/expmed.c
+1
-0
No files found.
gcc/ChangeLog
View file @
8efb33ec
2002
-
10
-
31
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
*
expmed
.
c
(
store_bit_field
)
:
Check
FUNCTION_ARG_REG_LITTLE_ENDIAN
.
2002
-
10
-
31
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
*
config
/
ia64
/
hpux
.
h
(
MEMBER_TYPE_FORCES_BLK
)
:
Set
for
non
-
floats
.
Thu
Oct
31
Dale
Johannesen
<
dalej
@apple
.
com
>
...
...
This diff is collapsed.
Click to expand it.
gcc/expmed.c
View file @
8efb33ec
...
...
@@ -404,6 +404,7 @@ store_bit_field (str_rtx, bitsize, bitnum, fieldmode, value, total_size)
But as we have it, it counts within whatever size OP0 now has.
On a bigendian machine, these are not the same, so convert. */
if
(
BYTES_BIG_ENDIAN
&&
!
FUNCTION_ARG_REG_LITTLE_ENDIAN
&&
GET_CODE
(
op0
)
!=
MEM
&&
unit
>
GET_MODE_BITSIZE
(
GET_MODE
(
op0
)))
bitpos
+=
unit
-
GET_MODE_BITSIZE
(
GET_MODE
(
op0
));
...
...
This diff is collapsed.
Click to expand it.
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