From: Paolo Bonzini <bonzini@gnu.org>
To: Paolo Bonzini <paolo.bonzini@polimi.it>
Cc: Richard Henderson <rth@redhat.com>, gcc-patches@gcc.gnu.org
Subject: Re: [RFT/RFA] gimplify pa va_arg
Date: Fri, 09 Jul 2004 10:13:00 -0000 [thread overview]
Message-ID: <40EE69B5.8090909@gnu.org> (raw)
Message-ID: <20040709101300.-tFNYK6nLCvLcrPMUcQDxULaF9tPit6Z2faGUAGRvro@z> (raw)
In-Reply-To: <40EE6589.8000506@polimi.it>
[-- Attachment #1: Type: text/plain, Size: 88 bytes --]
>> I attach two sdiffs to help review.
And I forgot the sdiffs as well. Sorry.
Paolo
[-- Attachment #2: pa64-diff --]
[-- Type: text/plain, Size: 3341 bytes --]
.LEVEL 2.0w .LEVEL 2.0w
.text .text
.align 4 .align 4
.align 8 .align 8
.globl f1 .globl f1
.type f1, @function .type f1, @function
f1: f1:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LT'list,%r27 addil LT'list,%r27
ldd RT'list(%r1),%r20 ldd RT'list(%r1),%r20
ldd 0(%r20),%r21 ldd 0(%r20),%r21
ldd 0(%r20),%r19 | ldo 8(%r21),%r19
ldo 8(%r19),%r19 <
std %r19,0(%r20) <
ldw 4(%r21),%r28 ldw 4(%r21),%r28
> std %r19,0(%r20)
bve (%r2) bve (%r2)
extrd,s %r28,63,32,%r28 extrd,s %r28,63,32,%r28
.EXIT .EXIT
.PROCEND .PROCEND
.size f1, .-f1 .size f1, .-f1
.align 8 .align 8
.globl f2 .globl f2
.type f2, @function .type f2, @function
f2: f2:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LT'list,%r27 addil LT'list,%r27
ldd RT'list(%r1),%r20 ldd RT'list(%r1),%r20
ldd 0(%r20),%r21 ldd 0(%r20),%r21
ldd 0(%r20),%r19 | ldo 8(%r21),%r19
ldo 8(%r19),%r19 <
std %r19,0(%r20) <
bve (%r2) <
ldd 0(%r21),%r28 ldd 0(%r21),%r28
> bve (%r2)
> std %r19,0(%r20)
.EXIT .EXIT
.PROCEND .PROCEND
.size f2, .-f2 .size f2, .-f2
.align 8 .align 8
.globl f3 .globl f3
.type f3, @function .type f3, @function
f3: f3:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LT'list,%r27 addil LT'list,%r27
ldd RT'list(%r1),%r20 ldd RT'list(%r1),%r20
ldd 0(%r20),%r21 ldd 0(%r20),%r21
ldd 0(%r20),%r19 | ldo 8(%r21),%r19
ldo 8(%r19),%r19 <
std %r19,0(%r20) <
bve (%r2) <
fldd 0(%r21),%fr4 fldd 0(%r21),%fr4
> bve (%r2)
> std %r19,0(%r20)
.EXIT .EXIT
.PROCEND .PROCEND
.size f3, .-f3 .size f3, .-f3
> .globl memmove
.align 8 .align 8
.globl f4 .globl f4
.type f4, @function .type f4, @function
f4: f4:
.PROC .PROC
.CALLINFO FRAME=128,CALLS,SAV .CALLINFO FRAME=128,CALLS,SAV
.ENTRY .ENTRY
std %r2,-16(%r30) std %r2,-16(%r30)
addil LT'list,%r27 addil LT'list,%r27
ldd RT'list(%r1),%r21 | ldd RT'list(%r1),%r20
copy %r28,%r26 copy %r28,%r26
std,ma %r5,128(%r30) std,ma %r5,128(%r30)
ldi 400,%r24 ldi 400,%r24
copy %r28,%r5 copy %r28,%r5
std %r4,-120(%r30) std %r4,-120(%r30)
ldd 0(%r21),%r19 | ldd 0(%r20),%r19
ldo 15(%r19),%r19 ldo 15(%r19),%r19
depdi 0,63,4,%r19 depdi 0,63,4,%r19
std %r19,0(%r21) | copy %r19,%r25
ldd 0(%r21),%r20 <
ldo 15(%r20),%r20 <
ldo -48(%r30),%r29 <
std %r20,0(%r21) <
ldd 0(%r21),%r19 <
depdi 0,63,4,%r19 <
std %r19,0(%r21) <
ldd 0(%r21),%r25 <
ldd 0(%r21),%r19 <
ldo 400(%r19),%r19 ldo 400(%r19),%r19
std %r19,0(%r21) | ldo -48(%r30),%r29
b,l memcpy,%r2 | b,l memmove,%r2
nop | std %r19,0(%r20)
ldd -144(%r30),%r2 ldd -144(%r30),%r2
ldd -120(%r30),%r4 ldd -120(%r30),%r4
copy %r5,%r28 copy %r5,%r28
bve (%r2) bve (%r2)
ldd,mb -128(%r30),%r5 ldd,mb -128(%r30),%r5
.EXIT .EXIT
.PROCEND .PROCEND
.size f4, .-f4 .size f4, .-f4
.comm list,8,8 .comm list,8,8
.ident "GCC: (GNU) 3.5.0 200 .ident "GCC: (GNU) 3.5.0 200
[-- Attachment #3: pa-diff --]
[-- Type: text/plain, Size: 3406 bytes --]
.LEVEL 1.1 .LEVEL 1.1
.text .text
.align 4 .align 4
.align 4 .align 4
.globl f1 .globl f1
.type f1, @function .type f1, @function
f1: f1:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LR'list-$global$,%r27 addil LR'list-$global$,%r27
ldw RR'list-$global$(%r1),%r19 ldw RR'list-$global$(%r1),%r19
ldo -4(%r19),%r19 ldo -4(%r19),%r19
depi 0,31,2,%r19 depi 0,31,2,%r19
stw %r19,RR'list-$global$(%r1) stw %r19,RR'list-$global$(%r1)
ldw RR'list-$global$(%r1),%r20 <
bv %r0(%r2) bv %r0(%r2)
ldw 0(%r20),%r28 | ldw 0(%r19),%r28
.EXIT .EXIT
.PROCEND .PROCEND
.size f1, .-f1 .size f1, .-f1
.align 4 .align 4
.globl f2 .globl f2
.type f2, @function .type f2, @function
f2: f2:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LR'list-$global$,%r27 addil LR'list-$global$,%r27
ldw RR'list-$global$(%r1),%r19 ldw RR'list-$global$(%r1),%r19
ldo -8(%r19),%r19 ldo -8(%r19),%r19
depi 0,31,3,%r19 depi 0,31,3,%r19
stw %r19,RR'list-$global$(%r1) stw %r19,RR'list-$global$(%r1)
ldw RR'list-$global$(%r1),%r20 | ldw 0(%r19),%r28
ldw 0(%r20),%r28 | ldw 4(%r19),%r29
ldw 4(%r20),%r29 <
bv,n %r0(%r2) bv,n %r0(%r2)
.EXIT .EXIT
.PROCEND .PROCEND
.size f2, .-f2 .size f2, .-f2
.align 4 .align 4
.globl f3 .globl f3
.type f3, @function .type f3, @function
f3: f3:
.PROC .PROC
.CALLINFO FRAME=0,NO_CALLS .CALLINFO FRAME=0,NO_CALLS
.ENTRY .ENTRY
addil LR'list-$global$,%r27 addil LR'list-$global$,%r27
ldw RR'list-$global$(%r1),%r19 ldw RR'list-$global$(%r1),%r19
ldo -8(%r19),%r19 ldo -8(%r19),%r19
depi 0,31,3,%r19 depi 0,31,3,%r19
stw %r19,RR'list-$global$(%r1) stw %r19,RR'list-$global$(%r1)
ldw RR'list-$global$(%r1),%r20 <
bv %r0(%r2) bv %r0(%r2)
fldds 0(%r20),%fr4 | fldds 0(%r19),%fr4
.EXIT .EXIT
.PROCEND .PROCEND
.size f3, .-f3 .size f3, .-f3
> .globl memmove
.align 4 .align 4
.globl f4 .globl f4
.type f4, @function .type f4, @function
f4: f4:
.PROC .PROC
.CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3 | .CALLINFO FRAME=128,CALLS,SAVE_RP,ENTRY_GR=3
.ENTRY .ENTRY
stw %r2,-20(%r30) stw %r2,-20(%r30)
addil LR'list-$global$,%r27 addil LR'list-$global$,%r27
copy %r28,%r26 copy %r28,%r26
stwm %r4,64(%r30) | stwm %r4,128(%r30)
ldi 400,%r24 ldi 400,%r24
ldw RR'list-$global$(%r1),%r19 ldw RR'list-$global$(%r1),%r19
> ldw -4(%r19),%r25
ldo -4(%r19),%r19 ldo -4(%r19),%r19
copy %r28,%r4 <
stw %r19,RR'list-$global$(%r1) stw %r19,RR'list-$global$(%r1)
ldw RR'list-$global$(%r1),%r20 | bl memmove,%r2
bl memcpy,%r2 | copy %r28,%r4
ldw 0(%r20),%r25 | ldw -148(%r30),%r2
ldw -84(%r30),%r2 <
copy %r4,%r28 copy %r4,%r28
bv %r0(%r2) bv %r0(%r2)
ldwm -64(%r30),%r4 | ldwm -128(%r30),%r4
.EXIT .EXIT
.PROCEND .PROCEND
.size f4, .-f4 .size f4, .-f4
.comm list,4,4 .comm list,4,4
.ident "GCC: (GNU) 3.5.0 20040709 (experimental .ident "GCC: (GNU) 3.5.0 20040709 (experimental
next prev parent reply other threads:[~2004-07-09 9:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 14:55 [PATCH] Remove the postincrement queue Paolo Bonzini
2004-07-08 21:15 ` Richard Henderson
2004-07-09 8:34 ` Paolo Bonzini
2004-07-09 9:38 ` gimplify mn10300 va_arg Paolo Bonzini
2004-07-09 11:10 ` Richard Henderson
2004-07-09 9:43 ` [RFT/RFA] gimplify pa va_arg Paolo Bonzini
2004-07-09 9:44 ` Paolo Bonzini
2004-07-09 10:08 ` Paolo Bonzini [this message]
2004-07-09 10:13 ` Paolo Bonzini
2004-07-09 10:55 ` [PATCH] Remove the postincrement queue Richard Henderson
2004-07-09 11:15 ` Paolo Bonzini
2004-07-09 15:49 ` [PATCH] Remove the postincrement queue, take 2 Paolo Bonzini
2004-07-09 22:05 ` Richard Henderson
2004-07-09 20:48 [RFT/RFA] gimplify pa va_arg John David Anglin
[not found] <no.id>
2004-07-09 21:01 ` John David Anglin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40EE69B5.8090909@gnu.org \
--to=bonzini@gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=paolo.bonzini@polimi.it \
--cc=rth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).