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
c2540bbb
Commit
c2540bbb
authored
19 years ago
by
Daniel Jacobowitz
Committed by
Daniel Jacobowitz
19 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/arm/arm.md (insv): Use gen_int_mode in more places.
From-SVN: r104997
parent
f3940b0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ChangeLog
+4
-0
gcc/config/arm/arm.md
+4
-3
No files found.
gcc/ChangeLog
View file @
c2540bbb
2005
-
10
-
05
Daniel
Jacobowitz
<
dan
@codesourcery
.
com
>
*
config
/
arm
/
arm
.
md
(
insv
)
:
Use
gen_int_mode
in
more
places
.
2005
-
10
-
05
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
PR
tree
-
optimization
/
18587
...
...
This diff is collapsed.
Click to expand it.
gcc/config/arm/arm.md
View file @
c2540bbb
...
...
@@ -1901,7 +1901,8 @@
HOST_WIDE_INT op3_value = mask & INTVAL (operands[3]);
HOST_WIDE_INT mask2 = ((mask & ~op3_value) << start_bit);
emit_insn (gen_andsi3 (op1, operands[0], GEN_INT (~mask2)));
emit_insn (gen_andsi3 (op1, operands[0],
gen_int_mode (~mask2, SImode)));
emit_insn (gen_iorsi3 (subtarget, op1,
gen_int_mode (op3_value << start_bit, SImode)));
}
...
...
@@ -1939,7 +1940,7 @@
}
else
{
rtx op0 =
GEN_INT (mask
);
rtx op0 =
gen_int_mode (mask, SImode
);
rtx op1 = gen_reg_rtx (SImode);
rtx op2 = gen_reg_rtx (SImode);
...
...
@@ -1958,7 +1959,7 @@
&& (const_ok_for_arm (mask << start_bit)
|| const_ok_for_arm (~(mask << start_bit))))
{
op0 =
GEN_INT (~(mask << start_bit)
);
op0 =
gen_int_mode (~(mask << start_bit), SImode
);
emit_insn (gen_andsi3 (op2, operands[0], op0));
}
else
...
...
This diff is collapsed.
Click to expand it.
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