Commit 40b9321d by H.J. Lu Committed by H.J. Lu

Only expand strlen to Pmode.

2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47364
	* config/i386/i386.md (strlen<mode>): Replace SWI48x with P.

From-SVN: r176868
parent 95f89bb3
2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/47364
* config/i386/i386.md (strlen<mode>): Replace SWI48x with P.
2011-07-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> 2011-07-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* config/arm/vfp.md ("*movdf_vfp"): Handle the VFP constraints * config/arm/vfp.md ("*movdf_vfp"): Handle the VFP constraints
......
...@@ -15824,11 +15824,11 @@ ...@@ -15824,11 +15824,11 @@
(set_attr "prefix_rep" "1")]) (set_attr "prefix_rep" "1")])
(define_expand "strlen<mode>" (define_expand "strlen<mode>"
[(set (match_operand:SWI48x 0 "register_operand" "") [(set (match_operand:P 0 "register_operand" "")
(unspec:SWI48x [(match_operand:BLK 1 "general_operand" "") (unspec:P [(match_operand:BLK 1 "general_operand" "")
(match_operand:QI 2 "immediate_operand" "") (match_operand:QI 2 "immediate_operand" "")
(match_operand 3 "immediate_operand" "")] (match_operand 3 "immediate_operand" "")]
UNSPEC_SCAS))] UNSPEC_SCAS))]
"" ""
{ {
if (ix86_expand_strlen (operands[0], operands[1], operands[2], operands[3])) if (ix86_expand_strlen (operands[0], operands[1], operands[2], operands[3]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment