This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Emission of store_multiple and load_multiple patterns
- From: noeljohn <noel dot daniel at gmx dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 2 Feb 2010 04:45:16 -0800 (PST)
- Subject: Re: Emission of store_multiple and load_multiple patterns
- References: <26739724.post@talk.nabble.com> <mcr7hstey49.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <26775192.post@talk.nabble.com> <mcrk4wn203i.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <27351551.post@talk.nabble.com> <mcr3a1qg1ld.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <27369674.post@talk.nabble.com> <mcr3a1pndbw.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <27401949.post@talk.nabble.com> <mcrwryw7hbx.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
Ian Lance Taylor-3 wrote:
>
> noeljohn <noel.daniel@gmx.com> writes:
>
>> This is the arm assembly for the c program:
>> void main()
>>
>> {
>>
>> int a[5]={6,9,5,6,8};
>>
>> a[3]=a[2] & a[4];
>>
>> }
>>
>> The section below is the one which needs to be generated for the machine
>> which I am working for.
>>
>> .section .rodata
>> .align 2
>> .type C.0.1175, %object
>> .size C.0.1175, 20
>> C.0.1175:
>> .word 6
>> .word 9
>> .word 5
>> .word 6
>> .word 8
>>
>> Similar section is seen for the assembly generated by the machine
>> powerpc.
>> How can it be generated?
>
> Thanks for the example. This is controlled by the cost of moving the
> structure piece by piece. See MOVE_MAX, MAX_MOVE_MAX,
> MOVE_MAX_PIECES, and MOVE_BY_PIECES_P in the internals manual.
>
> Ian
>
>
Thank you very much Sir. I will work on it and get back to you soon.
noeljohn
--
View this message in context: http://old.nabble.com/Emission-of-store_multiple-and-load_multiple-patterns-tp26739724p27419797.html
Sent from the gcc - Help mailing list archive at Nabble.com.