Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.52
 
1.53
 
MAIN:ragge:20140629160355
 
local2.c
_>415415                         printf("        addq $%d, %s\n", pr, rnames[RSP]);
 416416                 if ((p->n_op == STCALL || p->n_op == USTCALL) &&
 417417                     p->n_stsize <= 16) {
<> 418+#define STRREG 6
  419+#define STRSSE 8
  420+#define STRIF  9
  421+#define STRFI  10
418422                         /* store reg-passed structs on stack */
<>419 -                        printf("\tmovq %%rax,-%d(%%rbp)\n", stkpos);
 420 -                        printf("\tmovq %%rdx,-%d(%%rbp)\n", stkpos-8);
  423+                        if (p->n_stalign == STRREG || p->n_stalign == STRIF)
  424+                                printf("\tmovq %%rax,-%d(%%rbp)\n", stkpos);
  425+                        else
  426+                                printf("\tmovsd %%xmm0,-%d(%%rbp)\n", stkpos);
  427+                        if (p->n_stsize > 8) {
  428+                                if (p->n_stalign == STRREG ||
  429+                                    p->n_stalign == STRFI)
  430+                                        printf("\tmovq %%rdx,-%d(%%rbp)\n",
  431+                                            stkpos-8);
  432+                                else
  433+                                        printf("\tmovsd %%xmm1,-%d(%%rbp)\n",
  434+                                            stkpos-8);
  435+                        }
<_421436                         printf("\tleaq -%d(%%rbp),%%rax\n", stkpos);
 422437                 }
 423438                 break;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 09:35 +0200