search for: out_char

Displaying 5 results from an estimated 5 matches for "out_char".

Did you mean: put_char
2013 Oct 15
2
[LLVMdev] Unwanted push/pop on Cortex-M.
Hi Andrea, That is because the LR is the fixed register as per the http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf and out_char() function is not the leaf function ,Hence compiler tends to save and restore the LR and the save and restore of register r11 is to align stack for 8 bytes as per ARM EABI. Thanks ~Umesh On Tuesday, October 15, 2013, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote: > ----------...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...ich is a 4 bytes opcode). A On Tue, Oct 15, 2013 at 2:59 AM, Umesh Kalappa <umesh.kalappa0 at gmail.com>wrote: > Hi Andrea, > > That is because the LR is the fixed register as per the > > http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf > and out_char() function is not the leaf function ,Hence compiler > tends to save and restore the LR and the save and restore of > register r11 is to align stack for 8 bytes as per ARM EABI. > > > > Thanks > > ~Umesh > > > On Tuesday, October 15, 2013, Umesh Kalappa <umesh...
2013 Oct 15
1
[LLVMdev] Unwanted push/pop on Cortex-M.
...ytes opcode). > A > > On Tue, Oct 15, 2013 at 2:59 AM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote: > > Hi Andrea, > > That is because the LR is the fixed register as per the > http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf > and out_char() function is not the leaf function ,Hence compiler > tends to save and restore the LR and the save and restore of > register r11 is to align stack for 8 bytes as per ARM EABI. > > > > Thanks > > ~Umesh > > > On Tuesday, October 15, 2013, Umesh Kalappa <umesh...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
Hi, I have this code: void platform_putchar(int, char); void out_char( char ch ); void out_char( char ch ) { platform_putchar (0, ch); } I'm compiling with the following clang invocation: $ /usr/local/vendor/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang -mcpu=cortex-m4 -mfloat-abi=soft -mthumb -nostdinc -ffreestanding -ffunction-sections -fdata-sec...
2013 Oct 21
1
[LLVMdev] [PATCH] Unwanted r11 in push/pop on Cortex-M.
...appa < >> umesh.kalappa0 at gmail.com> wrote: >> > >> > Hi Andrea, >> > >> > That is because the LR is the fixed register as per the >> > >> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf >> > and out_char() function is not the leaf function ,Hence compiler >> > tends to save and restore the LR and the save and restore of >> > register r11 is to align stack for 8 bytes as per ARM EABI. >> > >> > >> > >> > Thanks >> > >> > ~Um...