[Ping] [PATCH, CR16] Adding memory model attributes

2012-05-31 Thread Ajinkya Dhobale
Hi,

This is a ping for the patch that add memory model attributes 
'data16', 'data20', 'data24' and 'data32' for CR16 target.

For details kindly refer: 
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00983.html

Can someone please review the patch?

Thanks  Regards,
Ajinkya Dhobale
KPIT Cummins, Pune.



mem-model.patch
Description: mem-model.patch


[PATCH, CR16] Adding memory model attributes

2012-05-15 Thread Ajinkya Dhobale
Hi,

Please find the attachment of mem-model.patch.

This patch adds memory model attributes 'data16', 'data20', 'data24' and 
'data32' for CR16 target. Using these attributes, allocatable address range 
for each data variable can be controlled individually.

Can someone please review the patch and let me know if there should be any 
modifications in it?

No new regressions found with this patch.

==
ChangeLog:
2012-05-15  Ajinkya Dhobale  ajinkya.dhob...@kpitcummins.com

* config/cr16/cr16.c
(cr16_handle_data_memory_attribute): New function.
(cr16_data16_mem_p): New function. 
Checks 'data16' attribute assignment.
(cr16_data20_mem_p): New function. 
Checks 'data20' attribute assignment.
(cr16_data24_mem_p): New function. 
Checks 'data24' attribute assignment.
(cr16_data32_mem_p): New function. 
Checks 'data32' attribute assignment.
(cr16_decompose_const): Add condition for memory attributes.
(cr16_decompose_address): Add condition for memory attributes.

* doc/extend.texi
(CR16 variable attribute): Added description for memory model 
attributes
===
  
Thanks  Regards,
Ajinkya Dhobale



mem-model.patch
Description: mem-model.patch