Emission of store_multiple and load_multiple patterns

noeljohn noel.daniel@gmx.com
Tue Feb 2 13:05:00 GMT 2010




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.



More information about the Gcc-help mailing list