Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ppe42-gcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenPOWER Firmware
ppe42-gcc
Commits
1098bd0e
Commit
1098bd0e
authored
Jun 19, 2015
by
Doug Gilbert
Committed by
Patrick Williams
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix where signed compare should be unsigned compare
parent
b54c77d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.c
+10
-11
No files found.
gcc/config/rs6000/rs6000.c
View file @
1098bd0e
...
...
@@ -19217,21 +19217,26 @@ output_fused_cbranch (rtx operands[], const char *label, rtx insn)
case UNEQ:
ccode = "eq";
break;
case GE:
case GEU:
logical = "l";
case GE:
ccode = "ge";
break;
case GT:
case GTU:
logical = "l";
case GT:
case UNGT:
ccode = "gt";
break;
case LE:
case LEU:
logical = "l";
case LE:
ccode = "le";
break;
case LTU:
logical = "l";
case LT:
case
LTU: case
UNLT:
case UNLT:
ccode = "lt";
break;
default:
...
...
@@ -19239,17 +19244,11 @@ output_fused_cbranch (rtx operands[], const char *label, rtx insn)
}
// Set immediate
// Can't do unsigned(logical) compare on immediate
if(GET_CODE (operands[3]) == CONST_INT)
{
op3 = INTVAL(operands[3]);
immed = "i";
}
else if( unsigned_reg_p (operands[2]) &&
unsigned_reg_p (operands[3]))
{
logical = "l";
op3 = REGNO(operands[3]);
logical = ""; // There is no cmplwib.. instruction in PPE42
}
else
{
...
...
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