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
c7554b28
Commit
c7554b28
authored
Jan 04, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(store_fixed_bit_field): If not SLOW_UNALIGNED_ACCESS, treat
everything as maximally aligned. From-SVN: r13371
parent
1a6ec070
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/expmed.c
+4
-1
No files found.
gcc/expmed.c
View file @
c7554b28
/* Medium-level subroutines: convert bit-field store and extract
/* Medium-level subroutines: convert bit-field store and extract
and shifts, multiplies and divides to rtl instructions.
and shifts, multiplies and divides to rtl instructions.
Copyright (C) 1987, 88, 89, 92-
5, 1996
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 89, 92-
6, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -557,6 +557,9 @@ store_fixed_bit_field (op0, offset, bitsize, bitpos, value, struct_align)
...
@@ -557,6 +557,9 @@ store_fixed_bit_field (op0, offset, bitsize, bitpos, value, struct_align)
int
all_zero
=
0
;
int
all_zero
=
0
;
int
all_one
=
0
;
int
all_one
=
0
;
if
(
!
SLOW_UNALIGNED_ACCESS
)
struct_align
=
BIGGEST_ALIGNMENT
/
BITS_PER_UNIT
;
/* There is a case not handled here:
/* There is a case not handled here:
a structure with a known alignment of just a halfword
a structure with a known alignment of just a halfword
and a field split across two aligned halfwords within the structure.
and a field split across two aligned halfwords within the structure.
...
...
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