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
e68c380c
Commit
e68c380c
authored
Mar 02, 2000
by
Richard Henderson
Committed by
Richard Henderson
Mar 02, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* alpha.c (alpha_emit_set_const_1): Also try c + small constant.
From-SVN: r32304
parent
c1b5b92c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/ChangeLog
+4
-0
gcc/config/alpha/alpha.c
+8
-0
No files found.
gcc/ChangeLog
View file @
e68c380c
2000
-
03
-
02
Richard
Henderson
<
rth
@cygnus
.
com
>
*
alpha
.
c
(
alpha_emit_set_const_1
)
:
Also
try
c
+
small
constant
.
2000
-
03
-
02
Mark
Mitchell
<
mark
@codesourcery
.
com
>
2000
-
03
-
02
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
tree
.
h
(
TYPE_ALIGN_UNIT
)
:
New
macro
.
*
tree
.
h
(
TYPE_ALIGN_UNIT
)
:
New
macro
.
...
...
gcc/config/alpha/alpha.c
View file @
e68c380c
...
@@ -1400,6 +1400,14 @@ alpha_emit_set_const_1 (target, mode, c, n)
...
@@ -1400,6 +1400,14 @@ alpha_emit_set_const_1 (target, mode, c, n)
target
,
0
,
OPTAB_WIDEN
);
target
,
0
,
OPTAB_WIDEN
);
}
}
/* Next, see if, minus some low bits, we've an easy load of high bits. */
new
=
((
c
&
0xffff
)
^
0x8000
)
-
0x8000
;
if
(
new
!=
0
&&
(
temp
=
alpha_emit_set_const
(
subtarget
,
mode
,
c
-
new
,
n
-
1
))
!=
0
)
return
expand_binop
(
mode
,
add_optab
,
temp
,
GEN_INT
(
new
),
target
,
0
,
OPTAB_WIDEN
);
return
0
;
return
0
;
}
}
...
...
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