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
246b8cf5
Commit
246b8cf5
authored
Apr 10, 2007
by
Eric Christopher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to last commit.
From-SVN: r123701
parent
54a88090
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
gcc/config/i386/i386.md
+22
-22
No files found.
gcc/config/i386/i386.md
View file @
246b8cf5
...
@@ -867,7 +867,7 @@
...
@@ -867,7 +867,7 @@
(match_operand 2 "const0_operand" "X"))]
(match_operand 2 "const0_operand" "X"))]
UNSPEC_FNSTSW))]
UNSPEC_FNSTSW))]
"TARGET_80387
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& GET_MODE (operands[1]) == GET_MODE (operands[2])"
&& GET_MODE (operands[1]) == GET_MODE (operands[2])"
"* return output_fp_compare (insn, operands, 0, 0);"
"* return output_fp_compare (insn, operands, 0, 0);"
[(set_attr "type" "multi")
[(set_attr "type" "multi")
...
@@ -914,7 +914,7 @@
...
@@ -914,7 +914,7 @@
(match_operand 2 "register_operand" "f"))]
(match_operand 2 "register_operand" "f"))]
UNSPEC_FNSTSW))]
UNSPEC_FNSTSW))]
"TARGET_80387
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& GET_MODE (operands[1]) == GET_MODE (operands[2])"
&& GET_MODE (operands[1]) == GET_MODE (operands[2])"
"* return output_fp_compare (insn, operands, 0, 1);"
"* return output_fp_compare (insn, operands, 0, 1);"
[(set_attr "type" "multi")
[(set_attr "type" "multi")
...
@@ -936,7 +936,7 @@
...
@@ -936,7 +936,7 @@
[(match_operand:X87MODEI12 2 "memory_operand" "m")]))]
[(match_operand:X87MODEI12 2 "memory_operand" "m")]))]
UNSPEC_FNSTSW))]
UNSPEC_FNSTSW))]
"TARGET_80387 && TARGET_USE_<MODE>MODE_FIOP
"TARGET_80387 && TARGET_USE_<MODE>MODE_FIOP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& (GET_MODE (operands [3]) == GET_MODE (operands[1]))"
&& (GET_MODE (operands [3]) == GET_MODE (operands[1]))"
"* return output_fp_compare (insn, operands, 0, 0);"
"* return output_fp_compare (insn, operands, 0, 0);"
[(set_attr "type" "multi")
[(set_attr "type" "multi")
...
@@ -1016,7 +1016,7 @@
...
@@ -1016,7 +1016,7 @@
(match_operand 1 "register_operand" "f")))]
(match_operand 1 "register_operand" "f")))]
"TARGET_80387 && TARGET_CMOVE
"TARGET_80387 && TARGET_CMOVE
&& (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
&& (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
&& FLOAT_MODE_P (GET_MODE (operands[0]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[0]))
&& GET_MODE (operands[0]) == GET_MODE (operands[1])"
&& GET_MODE (operands[0]) == GET_MODE (operands[1])"
"* return output_fp_compare (insn, operands, 1, 0);"
"* return output_fp_compare (insn, operands, 1, 0);"
[(set_attr "type" "fcmp")
[(set_attr "type" "fcmp")
...
@@ -1068,7 +1068,7 @@
...
@@ -1068,7 +1068,7 @@
(match_operand 1 "register_operand" "f")))]
(match_operand 1 "register_operand" "f")))]
"TARGET_80387 && TARGET_CMOVE
"TARGET_80387 && TARGET_CMOVE
&& (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
&& (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
&& FLOAT_MODE_P (GET_MODE (operands[0]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[0]))
&& GET_MODE (operands[0]) == GET_MODE (operands[1])"
&& GET_MODE (operands[0]) == GET_MODE (operands[1])"
"* return output_fp_compare (insn, operands, 1, 1);"
"* return output_fp_compare (insn, operands, 1, 1);"
[(set_attr "type" "fcmp")
[(set_attr "type" "fcmp")
...
@@ -4238,7 +4238,7 @@
...
@@ -4238,7 +4238,7 @@
[(set (match_operand:X87MODEI 0 "nonimmediate_operand" "=m,?r")
[(set (match_operand:X87MODEI 0 "nonimmediate_operand" "=m,?r")
(fix:X87MODEI (match_operand 1 "register_operand" "f,f")))]
(fix:X87MODEI (match_operand 1 "register_operand" "f,f")))]
"TARGET_FISTTP
"TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& TARGET_SSE_MATH)
&& TARGET_SSE_MATH)
...
@@ -4266,7 +4266,7 @@
...
@@ -4266,7 +4266,7 @@
(fix:X87MODEI (match_operand 1 "register_operand" "f")))
(fix:X87MODEI (match_operand 1 "register_operand" "f")))
(clobber (match_scratch:XF 2 "=&1f"))]
(clobber (match_scratch:XF 2 "=&1f"))]
"TARGET_FISTTP
"TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& TARGET_SSE_MATH)"
&& TARGET_SSE_MATH)"
...
@@ -4280,7 +4280,7 @@
...
@@ -4280,7 +4280,7 @@
(clobber (match_operand:X87MODEI 2 "memory_operand" "=m,m"))
(clobber (match_operand:X87MODEI 2 "memory_operand" "=m,m"))
(clobber (match_scratch:XF 3 "=&1f,&1f"))]
(clobber (match_scratch:XF 3 "=&1f,&1f"))]
"TARGET_FISTTP
"TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& TARGET_SSE_MATH)"
&& TARGET_SSE_MATH)"
...
@@ -4319,7 +4319,7 @@
...
@@ -4319,7 +4319,7 @@
(fix:X87MODEI (match_operand 1 "register_operand" "f,f")))
(fix:X87MODEI (match_operand 1 "register_operand" "f,f")))
(clobber (reg:CC FLAGS_REG))]
(clobber (reg:CC FLAGS_REG))]
"TARGET_80387 && !TARGET_FISTTP
"TARGET_80387 && !TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !(SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& !(SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& (TARGET_64BIT || <MODE>mode != DImode))
&& !(reload_completed || reload_in_progress)"
&& !(reload_completed || reload_in_progress)"
...
@@ -4354,7 +4354,7 @@
...
@@ -4354,7 +4354,7 @@
(use (match_operand:HI 3 "memory_operand" "m"))
(use (match_operand:HI 3 "memory_operand" "m"))
(clobber (match_scratch:XF 4 "=&1f"))]
(clobber (match_scratch:XF 4 "=&1f"))]
"TARGET_80387 && !TARGET_FISTTP
"TARGET_80387 && !TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
&& !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
"* return output_fix_trunc (insn, operands, 0);"
"* return output_fix_trunc (insn, operands, 0);"
[(set_attr "type" "fistp")
[(set_attr "type" "fistp")
...
@@ -4369,7 +4369,7 @@
...
@@ -4369,7 +4369,7 @@
(clobber (match_operand:DI 4 "memory_operand" "=m,m"))
(clobber (match_operand:DI 4 "memory_operand" "=m,m"))
(clobber (match_scratch:XF 5 "=&1f,&1f"))]
(clobber (match_scratch:XF 5 "=&1f,&1f"))]
"TARGET_80387 && !TARGET_FISTTP
"TARGET_80387 && !TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
&& !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
"#"
"#"
[(set_attr "type" "fistp")
[(set_attr "type" "fistp")
...
@@ -4411,7 +4411,7 @@
...
@@ -4411,7 +4411,7 @@
(use (match_operand:HI 2 "memory_operand" "m"))
(use (match_operand:HI 2 "memory_operand" "m"))
(use (match_operand:HI 3 "memory_operand" "m"))]
(use (match_operand:HI 3 "memory_operand" "m"))]
"TARGET_80387 && !TARGET_FISTTP
"TARGET_80387 && !TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
&& !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
"* return output_fix_trunc (insn, operands, 0);"
"* return output_fix_trunc (insn, operands, 0);"
[(set_attr "type" "fistp")
[(set_attr "type" "fistp")
...
@@ -4425,7 +4425,7 @@
...
@@ -4425,7 +4425,7 @@
(use (match_operand:HI 3 "memory_operand" "m,m"))
(use (match_operand:HI 3 "memory_operand" "m,m"))
(clobber (match_operand:X87MODEI12 4 "memory_operand" "=m,m"))]
(clobber (match_operand:X87MODEI12 4 "memory_operand" "=m,m"))]
"TARGET_80387 && !TARGET_FISTTP
"TARGET_80387 && !TARGET_FISTTP
&& FLOAT_MODE_P (GET_MODE (operands[1]))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[1]))
&& !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
&& !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
"#"
"#"
[(set_attr "type" "fistp")
[(set_attr "type" "fistp")
...
@@ -4687,7 +4687,7 @@
...
@@ -4687,7 +4687,7 @@
(float (match_operand 1 "register_operand" "")))]
(float (match_operand 1 "register_operand" "")))]
"reload_completed
"reload_completed
&& TARGET_80387
&& TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands[0]))"
&&
X87_
FLOAT_MODE_P (GET_MODE (operands[0]))"
[(const_int 0)]
[(const_int 0)]
{
{
operands[2] = ix86_force_to_memory (GET_MODE (operands[1]), operands[1]);
operands[2] = ix86_force_to_memory (GET_MODE (operands[1]), operands[1]);
...
@@ -13731,7 +13731,7 @@
...
@@ -13731,7 +13731,7 @@
(clobber (reg:CCFP FPSR_REG))
(clobber (reg:CCFP FPSR_REG))
(clobber (reg:CCFP FLAGS_REG))]
(clobber (reg:CCFP FLAGS_REG))]
"TARGET_CMOVE && TARGET_80387
"TARGET_CMOVE && TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
"#")
"#")
...
@@ -13776,7 +13776,7 @@
...
@@ -13776,7 +13776,7 @@
(clobber (reg:CCFP FPSR_REG))
(clobber (reg:CCFP FPSR_REG))
(clobber (reg:CCFP FLAGS_REG))]
(clobber (reg:CCFP FLAGS_REG))]
"TARGET_CMOVE && TARGET_80387
"TARGET_CMOVE && TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
"#")
"#")
...
@@ -13830,7 +13830,7 @@
...
@@ -13830,7 +13830,7 @@
(clobber (reg:CCFP FLAGS_REG))
(clobber (reg:CCFP FLAGS_REG))
(clobber (match_scratch:HI 4 "=a"))]
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
"#")
"#")
...
@@ -13846,7 +13846,7 @@
...
@@ -13846,7 +13846,7 @@
(clobber (reg:CCFP FLAGS_REG))
(clobber (reg:CCFP FLAGS_REG))
(clobber (match_scratch:HI 4 "=a"))]
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
&& ix86_fp_jump_nontrivial_p (GET_CODE (operands
[
0
]
))"
"#")
"#")
...
@@ -13862,7 +13862,7 @@
...
@@ -13862,7 +13862,7 @@
(clobber (reg:CCFP FLAGS_REG))
(clobber (reg:CCFP FLAGS_REG))
(clobber (match_scratch:HI 4 "=a"))]
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
1
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
2
]
)
&& !ix86_use_fcomi_compare (GET_CODE (operands
[
0
]
))
&& !ix86_use_fcomi_compare (GET_CODE (operands
[
0
]
))
&& SELECT_CC_MODE (GET_CODE (operands
[
0
]
),
&& SELECT_CC_MODE (GET_CODE (operands
[
0
]
),
...
@@ -13887,7 +13887,7 @@
...
@@ -13887,7 +13887,7 @@
(clobber (reg:CCFP FLAGS_REG))
(clobber (reg:CCFP FLAGS_REG))
(clobber (match_scratch:HI 5 "=a,a"))]
(clobber (match_scratch:HI 5 "=a,a"))]
"TARGET_80387 && TARGET_USE_
<MODE>
MODE_FIOP
"TARGET_80387 && TARGET_USE_
<MODE>
MODE_FIOP
&& FLOAT_MODE_P (GET_MODE (operands
[
3
]
))
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
3
]
))
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
3
]
)
&& GET_MODE (operands
[
1
]
) == GET_MODE (operands
[
3
]
)
&& !ix86_use_fcomi_compare (swap_condition (GET_CODE (operands
[
0
]
)))
&& !ix86_use_fcomi_compare (swap_condition (GET_CODE (operands
[
0
]
)))
&& ix86_fp_compare_mode (swap_condition (GET_CODE (operands
[
0
]
))) == CCFPmode
&& ix86_fp_compare_mode (swap_condition (GET_CODE (operands
[
0
]
))) == CCFPmode
...
@@ -15874,7 +15874,7 @@
...
@@ -15874,7 +15874,7 @@
[
(float (match_operand:X87MODEI12 1 "register_operand" ""))
[
(float (match_operand:X87MODEI12 1 "register_operand" ""))
(match_operand 2 "register_operand" "")]))]
(match_operand 2 "register_operand" "")]))]
"TARGET_80387 && reload_completed
"TARGET_80387 && reload_completed
&& FLOAT_MODE_P (GET_MODE (operands
[
0
]
))"
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
0
]
))"
[
(const_int 0)
]
[
(const_int 0)
]
{
{
operands
[
4
]
= ix86_force_to_memory (GET_MODE (operands
[
1
]
), operands
[
1
]
);
operands
[
4
]
= ix86_force_to_memory (GET_MODE (operands
[
1
]
), operands
[
1
]
);
...
@@ -15894,7 +15894,7 @@
...
@@ -15894,7 +15894,7 @@
[
(match_operand 1 "register_operand" "")
[
(match_operand 1 "register_operand" "")
(float (match_operand:X87MODEI12 2 "register_operand" ""))]))]
(float (match_operand:X87MODEI12 2 "register_operand" ""))]))]
"TARGET_80387 && reload_completed
"TARGET_80387 && reload_completed
&& FLOAT_MODE_P (GET_MODE (operands
[
0
]
))"
&&
X87_
FLOAT_MODE_P (GET_MODE (operands
[
0
]
))"
[
(const_int 0)
]
[
(const_int 0)
]
{
{
operands
[
4
]
= ix86_force_to_memory (GET_MODE (operands
[
2
]
), operands
[
2
]
);
operands
[
4
]
= ix86_force_to_memory (GET_MODE (operands
[
2
]
), operands
[
2
]
);
...
...
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