search for: mucignat

Displaying 8 results from an estimated 8 matches for "mucignat".

2013 Dec 03
6
[LLVMdev] Recent Commits by Tim Northover
...esting to me that it's still a good starting point. Finally, I would really like to see this optimization be promoted from -Oz to -Os. Doesn't it satisfy the criteria for -Os over -Oz? Tim's other commit was about stack adjustment folding. So, Tim, did you see the treads with Andrea Mucignat back in October? She asked for some help so that she could provide a patch to improve machine code generation for Thumb entry/exit points. No one with knowledge about the matter responded. This commit of yours looks to me like you do have some knowledge about it. She seems to have given up (and...
2013 Oct 15
1
[LLVMdev] Unwanted push/pop on Cortex-M.
Hi andrea, R11 treated as frame pointer at arm backend , which is fixed again . Thanks Umesh On Tuesday, October 15, 2013, Andrea Mucignat <andrea at nestlabs.com> wrote: > Umesh, > Makes some sort of sense to me, OTOH: > If instead of choosing r11 as a "dummy" to align the stack we had chosen some other register in the range r0-r7 then we could have emitted the PUSH encoding T1 (2 bytes opcode) as opposed to...
2013 Oct 21
1
[LLVMdev] [PATCH] Unwanted r11 in push/pop on Cortex-M.
...if the function is thumb1 - if (!AFI->isThumb1OnlyFunction() || + if (!AFI->isThumbFunction() || isARMLowRegister(Reg) || Reg == ARM::LR) { MRI.setPhysRegUsed(Reg); if (!MRI.isReserved(Reg)) On Tue, Oct 15, 2013 at 10:15 AM, Andrea Mucignat <andrea at nestlabs.com>wrote: > Umesh, > > From Target/ARM/ARMRegisterInfo.td, it looks like FP for Thumb should be > r7 instead of r11. > > // Register classes. > // > // pc == Program Counter > // lr == Link Register > // sp == Stack Pointer > // r12 ==...
2013 Dec 04
0
[LLVMdev] Recent Commits by Tim Northover
...lways slower so they don't qualify. We *could* enable it at -Os on M-class CPUs separately, but not without benchmark evidence (and I suspect it would have a bad effect even there). > Tim's other commit was about stack adjustment folding. So, Tim, did you see > the treads with Andrea Mucignat back in October? It rings some bells, but I wasn't paying much attention. I think she did get knowledgeable help; nothing in the thread jumps out as wrong. It looks like a reasonable goal, but as Renato said, should be considered carefully. It's a nasty area of the compiler and has knock-o...
2013 Oct 15
2
[LLVMdev] Unwanted push/pop on Cortex-M.
...piler 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: > ---------- Forwarded message ---------- > From: Andrea Mucignat <andrea at nestlabs.com> > Date: Tue, Oct 15, 2013 at 7:05 AM > Subject: [LLVMdev] Unwanted push/pop on Cortex-M. > To: llvmdev at cs.uiuc.edu > > > Hi, > > I have this code: > > void platform_putchar(int, char); > void out_char( char ch ); > > void out_...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...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: > > ---------- Forwarded message ---------- > > From: Andrea Mucignat <andrea at nestlabs.com> > > Date: Tue, Oct 15, 2013 at 7:05 AM > > Subject: [LLVMdev] Unwanted push/pop on Cortex-M. > > To: llvmdev at cs.uiuc.edu > > > > > > Hi, > > > > I have this code: > > > > void platform_putchar(int, char);...
2013 Dec 03
0
[LLVMdev] Recent Commits by Tim Northover
...to me that it's still a good starting point. Finally, I would really like to see this optimization be promoted from -Oz to -Os. Doesn't it satisfy the criteria for -Os over -Oz? > > Tim's other commit was about stack adjustment folding. So, Tim, did you see the treads with Andrea Mucignat back in October? She asked for some help so that she could provide a patch to improve machine code generation for Thumb entry/exit points. No one with knowledge about the matter responded. This commit of yours looks to me like you do have some knowledge about it. She seems to have given up (and jud...
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-sections -fno-exceptions