[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Clarification for interrupt specific changes in output_mo

From: Boyapati, Anitha
Subject: [avr-gcc-list] Clarification for interrupt specific changes in output_movhi() in revision 136238
Date: Wed, 25 Aug 2010 13:18:18 +0200

This is quite an old change date 2 years ago.

Please check the diff done in avr.c file in revision 136238 w.r.t to its 
previous revision.

Interrupt specific code has been removed from output_movhi for instructions 
belonging to prologue and epilogue. Hence the relevant code from output_movhi() 
[3rd hunk] has been moved to expand_prologue() [1st hunk] and expand_epilogue() 
[2nd hunk]

There is one issue I would like to get clarified. In prologue, conditional 
check for is_OS_main is happening but not the same in epilogue.

expand_prologue() {
+             else if (TARGET_NO_INTERRUPTS 
+                      || cfun->machine->is_signal
+                      || cfun->machine->is_OS_main)
+               {

expand_epilogue() {
+             else if (TARGET_NO_INTERRUPTS 
+                      || cfun->machine->is_signal)
+               {

Any quick thoughts on why this is not done?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]