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
c2ec26b8
Commit
c2ec26b8
authored
Sep 12, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_shift): Use convert_modes.
(emit_store_flag): Likewise. From-SVN: r5309
parent
3fad11c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
gcc/expmed.c
+7
-7
No files found.
gcc/expmed.c
View file @
c2ec26b8
...
@@ -1699,9 +1699,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
...
@@ -1699,9 +1699,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
||
(
methods
==
OPTAB_WIDEN
||
(
methods
==
OPTAB_WIDEN
&&
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
output_mode
)))
&&
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
output_mode
)))
{
{
rtx
shifted1
=
convert_
to_mode
(
output_
mode
,
rtx
shifted1
=
convert_
modes
(
output_mode
,
mode
,
protect_from_queue
(
shifted
,
0
),
protect_from_queue
(
shifted
,
0
),
1
);
1
);
enum
machine_mode
length_mode
enum
machine_mode
length_mode
=
insn_operand_mode
[(
int
)
CODE_FOR_extzv
][
2
];
=
insn_operand_mode
[(
int
)
CODE_FOR_extzv
][
2
];
enum
machine_mode
pos_mode
enum
machine_mode
pos_mode
...
@@ -1730,8 +1730,8 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
...
@@ -1730,8 +1730,8 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
target1
=
gen_reg_rtx
(
output_mode
);
target1
=
gen_reg_rtx
(
output_mode
);
xop1
=
protect_from_queue
(
xop1
,
0
);
xop1
=
protect_from_queue
(
xop1
,
0
);
xop1
=
convert_
to_mode
(
pos_mode
,
xop1
,
xop1
=
convert_
modes
(
pos_mode
,
TYPE_MODE
(
TREE_TYPE
(
amount
))
,
TREE_UNSIGNED
(
TREE_TYPE
(
amount
)));
xop1
,
TREE_UNSIGNED
(
TREE_TYPE
(
amount
)));
/* If this machine's extzv insists on a register for
/* If this machine's extzv insists on a register for
operand 3 (position), arrange for that. */
operand 3 (position), arrange for that. */
...
@@ -2906,7 +2906,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
...
@@ -2906,7 +2906,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
subtarget
,
normalizep
!=
-
1
);
subtarget
,
normalizep
!=
-
1
);
if
(
mode
!=
target_mode
)
if
(
mode
!=
target_mode
)
op0
=
convert_
to_mode
(
target_
mode
,
op0
,
0
);
op0
=
convert_
modes
(
target_mode
,
mode
,
op0
,
0
);
return
op0
;
return
op0
;
}
}
...
@@ -3128,7 +3128,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
...
@@ -3128,7 +3128,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
else
if
(
GET_MODE_SIZE
(
mode
)
<
UNITS_PER_WORD
)
else
if
(
GET_MODE_SIZE
(
mode
)
<
UNITS_PER_WORD
)
{
{
op0
=
protect_from_queue
(
op0
,
0
);
op0
=
protect_from_queue
(
op0
,
0
);
tem
=
convert_
to_mode
(
word_mode
,
mode
,
op0
,
1
);
tem
=
convert_
modes
(
word_mode
,
mode
,
op0
,
1
);
mode
=
word_mode
;
mode
=
word_mode
;
}
}
...
...
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