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
24092242
Commit
24092242
authored
Jun 06, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(const_method): Do not synthesize long constants with byte or word
operations with TARGET_5200. From-SVN: r12181
parent
106bee4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/config/m68k/m68k.c
+6
-0
No files found.
gcc/config/m68k/m68k.c
View file @
24092242
...
...
@@ -1066,6 +1066,11 @@ const_method (constant)
i
=
INTVAL
(
constant
);
if
(
USE_MOVQ
(
i
))
return
MOVQ
;
/* The Coldfire doesn't have byte or word operations. */
/* FIXME: This may not be useful for the m68060 either */
if
(
!
TARGET_5200
)
{
/* if -256 < N < 256 but N is not in range for a moveq
N^ff will be, so use moveq #N^ff, dreg; not.b dreg. */
if
(
USE_MOVQ
(
i
^
0xff
))
...
...
@@ -1080,6 +1085,7 @@ const_method (constant)
u
=
i
;
if
(
USE_MOVQ
((
u
>>
16
)
|
(
u
<<
16
)))
return
SWAP
;
}
/* Otherwise, use move.l */
return
MOVL
;
}
...
...
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