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
b10ed555
Commit
b10ed555
authored
May 15, 1995
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movsicc, case NE): Don't generate unrecognizable insn.
(movdicc, case NE): Likewise. From-SVN: r9685
parent
ba68fc32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
gcc/config/alpha/alpha.md
+16
-6
No files found.
gcc/config/alpha/alpha.md
View file @
b10ed555
...
@@ -2234,13 +2234,18 @@
...
@@ -2234,13 +2234,18 @@
"
"
{
{
rtx op0,op1;
rtx op0,op1;
enum rtx_code code = GET_CODE (operands
[
1
]
);
enum rtx_code code = GET_CODE (operands
[
1
]
)
, code2 = NE
;
if (alpha_compare_fp_p)
if (alpha_compare_fp_p)
FAIL;
FAIL;
switch (code)
switch (code)
{
{
case EQ: case NE: case LE: case LT:
case EQ: case LE: case LT:
op0 = alpha_compare_op0;
op1 = alpha_compare_op1;
break;
case NE:
code = code2 = EQ;
op0 = alpha_compare_op0;
op0 = alpha_compare_op0;
op1 = alpha_compare_op1;
op1 = alpha_compare_op1;
break;
break;
...
@@ -2259,7 +2264,7 @@
...
@@ -2259,7 +2264,7 @@
}
}
operands
[
1
]
= gen_rtx (code, DImode, op0, op1);
operands
[
1
]
= gen_rtx (code, DImode, op0, op1);
operands
[
4
]
= gen_reg_rtx (DImode);
operands
[
4
]
= gen_reg_rtx (DImode);
operands
[
5
]
= gen_rtx (
NE
, VOIDmode, operands
[
4
]
, CONST0_RTX (DImode));
operands
[
5
]
= gen_rtx (
code2
, VOIDmode, operands
[
4
]
, CONST0_RTX (DImode));
}")
}")
(define_expand "movdicc"
(define_expand "movdicc"
...
@@ -2272,13 +2277,18 @@
...
@@ -2272,13 +2277,18 @@
"
"
{
{
rtx op0,op1;
rtx op0,op1;
enum rtx_code code = GET_CODE (operands
[
1
]
);
enum rtx_code code = GET_CODE (operands
[
1
]
)
, code2 = NE
;
if (alpha_compare_fp_p)
if (alpha_compare_fp_p)
FAIL;
FAIL;
switch (code)
switch (code)
{
{
case EQ: case NE: case LE: case LT:
case EQ: case LE: case LT:
op0 = alpha_compare_op0;
op1 = alpha_compare_op1;
break;
case NE:
code = code2 = EQ;
op0 = alpha_compare_op0;
op0 = alpha_compare_op0;
op1 = alpha_compare_op1;
op1 = alpha_compare_op1;
break;
break;
...
@@ -2297,7 +2307,7 @@
...
@@ -2297,7 +2307,7 @@
}
}
operands
[
1
]
= gen_rtx (code, DImode, op0, op1);
operands
[
1
]
= gen_rtx (code, DImode, op0, op1);
operands
[
4
]
= gen_reg_rtx (DImode);
operands
[
4
]
= gen_reg_rtx (DImode);
operands
[
5
]
= gen_rtx (
NE
, VOIDmode, operands
[
4
]
, CONST0_RTX (DImode));
operands
[
5
]
= gen_rtx (
code2
, VOIDmode, operands
[
4
]
, CONST0_RTX (DImode));
}")
}")
(define_expand "movsfcc"
(define_expand "movsfcc"
...
...
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