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
2aa8f23f
Commit
2aa8f23f
authored
Apr 05, 1992
by
James Van Artsdalen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r687
parent
e8094962
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
gcc/config/i386/i386.md
+17
-5
gcc/optabs.c
+1
-0
No files found.
gcc/config/i386/i386.md
View file @
2aa8f23f
...
@@ -3464,7 +3464,8 @@
...
@@ -3464,7 +3464,8 @@
(use (match_operand:SI 4 "immediate_operand" ""))
(use (match_operand:SI 4 "immediate_operand" ""))
(clobber (match_dup 1))
(clobber (match_dup 1))
(clobber (match_dup 2))
(clobber (match_dup 2))
(clobber (match_dup 3))])]
(clobber (match_dup 3))
(clobber (match_scratch:SI 5 ""))])]
""
""
"
"
{
{
...
@@ -3481,13 +3482,18 @@
...
@@ -3481,13 +3482,18 @@
(use (match_operand:SI 4 "immediate_operand" "i"))
(use (match_operand:SI 4 "immediate_operand" "i"))
(clobber (match_dup 1))
(clobber (match_dup 1))
(clobber (match_dup 2))
(clobber (match_dup 2))
(clobber (match_dup 3))]
(clobber (match_dup 3))
(clobber (match_scratch:SI 5 "=&r"))]
""
""
"
*
"
*
{
{
rtx xops
[
3
]
;
rtx xops
[
3
]
, label;
label = gen_label_rtx ();
output_asm_insn (AS2 (xor%B0,%0,%0), operands);
output_asm_insn (
\"
repz
\;
cmps%B2
\"
, operands);
output_asm_insn (
\"
repz
\;
cmps%B2
\"
, operands);
output_asm_insn (
\"
je %l0
\"
,
&label);
xops
[
0
]
= operands
[
0
]
;
xops
[
0
]
= operands
[
0
]
;
xops
[
1
]
= gen_rtx (MEM, QImode,
xops
[
1
]
= gen_rtx (MEM, QImode,
...
@@ -3497,6 +3503,7 @@
...
@@ -3497,6 +3503,7 @@
output_asm_insn (AS2 (mov%B0,%1,%b0), xops);
output_asm_insn (AS2 (mov%B0,%1,%b0), xops);
output_asm_insn (AS2 (sub%B0,%2,%b0), xops);
output_asm_insn (AS2 (sub%B0,%2,%b0), xops);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file,
\"
L
\"
, CODE_LABEL_NUMBER (label));
RET;
RET;
}")
}")
...
@@ -3508,9 +3515,14 @@
...
@@ -3508,9 +3515,14 @@
(use (match_operand:SI 3 "immediate_operand" "i"))
(use (match_operand:SI 3 "immediate_operand" "i"))
(clobber (match_dup 0))
(clobber (match_dup 0))
(clobber (match_dup 1))
(clobber (match_dup 1))
(clobber (match_dup 2))]
(clobber (match_dup 2))
(clobber (match_scratch:SI 4 "=&r"))]
""
""
"repz
\;
cmps%B2")
"
*
{
output_asm_insn (AS2 (xor%L4,%4,%4), operands);
return
\"
repz
\;
cmps%B2
\"
;
}")
(define_expand "ffssi2"
(define_expand "ffssi2"
[
(set (match_dup 2)
[
(set (match_dup 2)
...
...
gcc/optabs.c
View file @
2aa8f23f
...
@@ -1428,6 +1428,7 @@ emit_cmp_insn (x, y, comparison, size, mode, unsignedp, align)
...
@@ -1428,6 +1428,7 @@ emit_cmp_insn (x, y, comparison, size, mode, unsignedp, align)
rtx
x
,
y
;
rtx
x
,
y
;
enum
rtx_code
comparison
;
enum
rtx_code
comparison
;
rtx
size
;
rtx
size
;
enum
machine_mode
mode
;
int
unsignedp
;
int
unsignedp
;
int
align
;
int
align
;
{
{
...
...
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