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
a0044fb1
Commit
a0044fb1
authored
Sep 28, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3. From-SVN: r2265
parent
84b55618
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
gcc/config/rs6000/rs6000.md
+10
-3
No files found.
gcc/config/rs6000/rs6000.md
View file @
a0044fb1
...
...
@@ -259,7 +259,15 @@
(minus:SI (match_operand:SI 1 "reg_or_short_operand" "")
(match_operand:SI 2 "reg_or_cint_operand" "")))]
""
"")
"
{
if (GET_CODE (operands
[
2
]
) == CONST_INT)
{
emit_insn (gen_addsi3 (operands
[
0
]
, operands
[
1
]
,
negate_rtx (SImode, operands
[
2
]
)));
DONE;
}
}")
;; For SMIN, SMAX, UMIN, and UMAX, we use DEFINE_EXPAND's that involve a doz
[
i
]
;; instruction and some auxiliary computations. Then we just have a single
...
...
@@ -2893,8 +2901,7 @@
rtx stack_bot = gen_rtx (MEM, Pmode, stack_pointer_rtx);
emit_move_insn (chain, stack_bot);
emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx,
negate_rtx (SImode, operands
[
0
]
)));
emit_insn (gen_subsi3 (stack_pointer_rtx, stack_pointer_rtx, operands
[
0
]
));
emit_move_insn (stack_bot, chain);
DONE;
}")
...
...
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