[ARM] Fix type of cmpsf_trap_vfp

Submitted by Jie Zhang on Sept. 10, 2010, 9:11 a.m.

Details

Message ID 4C89F628.5000300@codesourcery.com
State New
Headers show

Commit Message

Jie Zhang Sept. 10, 2010, 9:11 a.m.
I think the type of cmpsf_trap_vfp should be fcmps instead of fcmpd. 
This patch fixes it. OK?

Comments

Richard Earnshaw Sept. 15, 2010, 1:52 p.m.
On Fri, 2010-09-10 at 17:11 +0800, Jie Zhang wrote:
> I think the type of cmpsf_trap_vfp should be fcmps instead of fcmpd. 
> This patch fixes it. OK?
> 

OK.

R.
Jie Zhang Sept. 15, 2010, 2:59 p.m.
On 09/15/2010 09:52 PM, Richard Earnshaw wrote:
>
> On Fri, 2010-09-10 at 17:11 +0800, Jie Zhang wrote:
>> I think the type of cmpsf_trap_vfp should be fcmps instead of fcmpd.
>> This patch fixes it. OK?
>>
>
> OK.
>
Thanks. Committed on trunk.

Patch hide | download patch | download mbox


	* config/arm/vfp.md (cmpsf_trap_vfp): Change type from
	fcmpd to fcmps.

Index: config/arm/vfp.md
===================================================================
--- config/arm/vfp.md	(revision 164143)
+++ config/arm/vfp.md	(working copy)
@@ -1103,7 +1103,7 @@  (define_insn "*cmpsf_trap_vfp"
    fcmpes%?\\t%0, %1
    fcmpezs%?\\t%0"
   [(set_attr "predicable" "yes")
-   (set_attr "type" "fcmpd")]
+   (set_attr "type" "fcmps")]
 )
 
 (define_insn "*cmpdf_vfp"