This is the mail archive of the
`gcc-patches@gcc.gnu.org`
mailing list for the GCC project.

Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|

Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |

Other format: | [Raw text] |

*From*: Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>*To*: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>*Date*: Thu, 02 Oct 2014 09:31:09 +0100*Subject*: [RFC] costs and it's use in assign_reg_parm*Authentication-results*: sourceware.org; auth=none

Hi,

void g2(float, float, float, float, float, float, float, float); void f2a(void) {

g2(x0, x1, x2, x3, x4, x5, x6, x7); g2(x8, x9, x10, x11, x12, x13, x14, x15); g2(x0, x1, x2, x3, x4, x5, x6, x7); g2(x8, x9, x10, x11, x12, x13, x14, x15); } And a couple of items caught my attention.

Thoughts ? Lightly tested with the testcase and nothing more. regards Ramana 2a: fmov s23, 8.0e+0 fmov s22, 7.0e+0 fmov s21, 6.0e+0 fmov s20, 5.0e+0 fmov s19, 4.0e+0 fmov s18, 3.0e+0 fmov s17, 2.0e+0 fmov s16, 1.0e+0 stp x29, x30, [sp, -112]! fmov s7, s23 fmov s6, s22 add x29, sp, 0 fmov s5, s21 fmov s4, s20 stp d8, d9, [sp, 16] fmov s3, s19 stp d10, d11, [sp, 32] fmov s2, s18 stp d12, d13, [sp, 48] fmov s1, s17 stp d14, d15, [sp, 64] fmov s0, s16 fmov s15, 1.25e+0 fmov s14, 7.5e-1 fmov s13, 3.5e+0 fmov s12, 1.25e-1 fmov s11, 2.5e-1 fmov s10, 2.5e+0 fmov s9, 1.5e+0 fmov s8, 5.0e-1 str s23, [x29, 80] str s22, [x29, 84] str s21, [x29, 88] str s20, [x29, 92] str s19, [x29, 96] str s18, [x29, 100] str s17, [x29, 104] str s16, [x29, 108] bl g2 fmov s7, s15 fmov s6, s14 fmov s5, s13 fmov s4, s12 fmov s3, s11 fmov s2, s10 fmov s1, s9 fmov s0, s8 bl g2 ldr s23, [x29, 80] TO f2a: stp x29, x30, [sp, -16]! fmov s7, 8.0e+0 add x29, sp, 0 fmov s6, 7.0e+0 fmov s5, 6.0e+0 fmov s4, 5.0e+0 fmov s3, 4.0e+0 fmov s2, 3.0e+0 fmov s1, 2.0e+0 fmov s0, 1.0e+0 bl g2 fmov s7, 1.25e+0 fmov s6, 7.5e-1 fmov s5, 3.5e+0 fmov s4, 1.25e-1 fmov s3, 2.5e-1 fmov s2, 2.5e+0 fmov s1, 1.5e+0 fmov s0, 5.0e-1 bl g2 fmov s7, 8.0e+0 fmov s6, 7.0e+0 fmov s5, 6.0e+0 fmov s4, 5.0e+0 fmov s3, 4.0e+0 fmov s2, 3.0e+0 fmov s1, 2.0e+0 fmov s0, 1.0e+0 bl g2 ldp x29, x30, [sp], 16 fmov s7, 1.25e+0 fmov s6, 7.5e-1 fmov s5, 3.5e+0 fmov s4, 1.25e-1 fmov s3, 2.5e-1 fmov s2, 2.5e+0 fmov s1, 1.5e+0 fmov s0, 5.0e-1 b g2

**Attachment:
p1.txt**

**Follow-Ups**:**Re: [RFC] costs and it's use in assign_reg_parm***From:*Jeff Law

**Re: [RFC] costs and it's use in assign_reg_parm***From:*Richard Sandiford

Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|

Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |