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
f76e3b05
Commit
f76e3b05
authored
Apr 10, 1992
by
James Van Artsdalen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r714
parent
1f7da38e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
gcc/config/i386/i386.md
+17
-8
No files found.
gcc/config/i386/i386.md
View file @
f76e3b05
...
...
@@ -3464,8 +3464,7 @@
(use (match_operand:SI 4 "immediate_operand" ""))
(clobber (match_dup 1))
(clobber (match_dup 2))
(clobber (match_dup 3))
(clobber (match_scratch:SI 5 ""))])]
(clobber (match_dup 3))])]
""
"
{
...
...
@@ -3474,16 +3473,22 @@
operands
[
3
]
= copy_to_mode_reg (SImode, operands
[
3
]
);
}")
;; memcmp recognizers. The
`
cmpsb' opcode does nothing if the count is
;; zero. Emit extra code to make sure that a zero-length compare is EQ.
;; ??? Most comparisons have a constant length, and it's therefore
;; possible to know that the length is non-zero, and to avoid the extra
;; code to handle zero-length compares.
(define_insn ""
[
(set (match_operand:QI 0 "general_operand" "=q")
[
(set (match_operand:QI 0 "general_operand" "=
&
q")
(compare (mem:BLK (match_operand:SI 1 "general_operand" "S"))
(mem:BLK (match_operand:SI 2 "general_operand" "D"))))
(use (match_operand:SI 3 "general_operand" "c"))
(use (match_operand:SI 4 "immediate_operand" "i"))
(clobber (match_dup 1))
(clobber (match_dup 2))
(clobber (match_dup 3))
(clobber (match_scratch:SI 5 "=&r"))]
(clobber (match_dup 3))]
""
"
*
{
...
...
@@ -3515,12 +3520,16 @@
(use (match_operand:SI 3 "immediate_operand" "i"))
(clobber (match_dup 0))
(clobber (match_dup 1))
(clobber (match_dup 2))
(clobber (match_scratch:SI 4 "=&r"))]
(clobber (match_dup 2))]
""
"
*
{
output_asm_insn (AS2 (xor%L4,%4,%4), operands);
rtx xops
[
2
]
;
xops
[
0
]
= gen_rtx (REG, QImode, 0);
xops
[
1
]
= CONST0_RTX (QImode);
output_asm_insn (AS2 (test%B0,%1,%0), xops);
return
\"
repz
\;
cmps%B2
\"
;
}")
...
...
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