Displaying 5 results from an estimated 5 matches for "nestlab".
Did you mean:
netlab
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 the encoding T2 (which...
2013 Oct 21
1
[LLVMdev] [PATCH] Unwanted r11 in push/pop on Cortex-M.
...b1
- 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 == ip (scratch)
> //...
2013 Oct 15
2
[LLVMdev] Unwanted push/pop on Cortex-M.
...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_char( char ch )
> {...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...r 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_cha...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...nans-fp-math"="false"
"unsafe-fp-math"="false" "use-soft-float"="true" }
attributes #2 = { nounwind readnone }
attributes #3 = { nobuiltin nounwind optsize }
!llvm.dbg.cu = !{!0}
!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"nestlabs-clang
version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3)", i1 true, metadata
!"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, metadata
!2, metadata !""} ; [ DW_TAG_compile_unit ] [/tmp/a.c] [DW_LANG_C_plus_plus]
!1 = metadata !{metadata !"a.c"...