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
0a0b733a
Commit
0a0b733a
authored
Oct 26, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(negdi2): Use TARGET_LITTLE_ENDIAN.
From-SVN: r10514
parent
9bf22b75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
gcc/config/sh/sh.md
+7
-4
No files found.
gcc/config/sh/sh.md
View file @
0a0b733a
...
...
@@ -949,11 +949,14 @@
""
"
{
rtx low_src = operand_subword (operands
[
1
]
, 1, 0, DImode
);
rtx high_src = operand_subword (operands
[
1
]
, 0, 0, DImode
);
int low_word = (TARGET_LITTLE_ENDIAN ? 0 : 1
);
int high_word = (TARGET_LITTLE_ENDIAN ? 1 : 0
);
rtx low_dst = operand_subword (operands
[
0
]
, 1, 1, DImode);
rtx high_dst = operand_subword (operands
[
0
]
, 0, 1, DImode);
rtx low_src = operand_subword (operands
[
1
]
, low_word, 0, DImode);
rtx high_src = operand_subword (operands
[
1
]
, high_word, 0, DImode);
rtx low_dst = operand_subword (operands
[
0
]
, low_word, 1, DImode);
rtx high_dst = operand_subword (operands
[
0
]
, high_word, 1, DImode);
emit_insn (gen_clrt ());
emit_insn (gen_negc (low_dst, low_src));
...
...
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