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
ade53a50
Commit
ade53a50
authored
Dec 23, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Dec 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.c (output_a_shift): Remove unused code.
From-SVN: r60423
parent
d317855e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
19 deletions
+9
-19
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.c
+5
-19
No files found.
gcc/ChangeLog
View file @
ade53a50
2002
-
12
-
23
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
c
(
output_a_shift
)
:
Remove
unused
code
.
2002
-
12
-
22
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
stor
-
layout
.
c
(
update_alignment_for_field
)
:
Guard
use
of
...
...
gcc/config/h8300/h8300.c
View file @
ade53a50
...
...
@@ -3104,29 +3104,15 @@ output_a_shift (operands)
output_asm_insn
(
info
.
shift1
,
operands
);
/* Now mask off the high bits. */
switch
(
mode
)
{
case
QImode
:
if
(
mode
==
QImode
)
sprintf
(
insn_buf
,
"and
\t
#%d,%%X0"
,
mask
);
cc_status
.
value1
=
operands
[
0
];
cc_status
.
flags
|=
CC_NO_CARRY
;
break
;
case
HImode
:
if
(
TARGET_H8300
)
{
sprintf
(
insn_buf
,
"and
\t
#%d,%%s0
\n\t
and
\t
#%d,%%t0"
,
mask
&
255
,
mask
>>
8
);
}
else
{
else
if
(
mode
==
HImode
&&
(
TARGET_H8300H
||
TARGET_H8300S
))
sprintf
(
insn_buf
,
"and.w
\t
#%d,%%T0"
,
mask
);
else
abort
();
cc_status
.
value1
=
operands
[
0
];
cc_status
.
flags
|=
CC_NO_CARRY
;
}
break
;
default
:
abort
();
}
output_asm_insn
(
insn_buf
,
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