search for: slotsiz

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

Did you mean: slotsize
2013 Aug 02
0
[LLVMdev] bug of tail call optimization on x86 target
...ue to wrong computation of stack object indices by the > x86 backend. The attached patch indicates the wrong points. Due to > integral promotion, explicit conversion to signed integer is needed > at those points. I'm not convinced that's the best solution, at least conceptually. SlotSize really is an unsigned quantity, and though it's unlikely we'd like 0x80000000 to be interpreted as positive, rather than negative if it ever does occur. Also, CreateFixedObject seems to take an int64_t I'd suggest: + ISelLowering line 2459: cast FPDiff to int64_t. + ISelLowering line...
2013 Aug 02
2
[LLVMdev] bug of tail call optimization on x86 target
Dear LLVM developers, I am a developer of SML#, an ML-style functional programming language developed at Tohoku University. Currently we are intending to use LLVM as the backend of our SML# compiler in our upcoming release, and have rewritten our frontend and runtime so that they can cooperate with LLVM. LLVM works extremely fine with our SML# compiler. We are grateful to LLVM community for
2008 Feb 23
1
[LLVMdev] Obligatory monthly tail call patch
Hello everybody, hi Evan, this patch changes the lowering of arguments for tail call optimized calls. Before arguments that could be overwritten by each other were explicitly lowered to a stack slot, not giving the register allocator a chance to optimize. Now a sequence of copyto/copyfrom virtual registers ensures that arguments are loaded in (virtual) registers before they are lowered to the
2017 Apr 27
4
-msave-args backend support for x86_64
...f<MCPhysReg> GPRs = + get64BitArgumentGPRs(Fn->getCallingConv(), STI); + unsigned arg_size = Fn->arg_size(); + unsigned RI = 0; + int64_t SaveSize = 0; + + for (MCPhysReg Reg : GPRs) { + if (++RI > arg_size) + break; + + SaveSize += SlotSize; + +#if 1 + BuildMI(MBB, MBBI, DL, TII.get(X86::PUSH64r)) + .addReg(Reg) + .setMIFlag(MachineInstr::FrameSetup); +#else + // MOV64mr Reg, -SaveSize(%rbp) + addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mr)), + FramePtr, true, -Sav...
2010 Aug 11
1
[LLVMdev] Unnecessary Win64 stack allocations...
...SizedObjects() && // No dynamic alloca. !MFI->adjustsStack() && // No calls. !IsWin64) { // Win64 has no Red Zone uint64_t MinSize = X86FI->getCalleeSavedFrameSize(); if (HasFP) MinSize += SlotSize; StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); MFI->setStackSize(StackSize); } else if (IsWin64) { // We need to always allocate 32 bytes as register spill area. // FIXME: We might reuse these 32 bytes for leaf functions. StackSize += 32; MFI...
2013 Aug 03
2
[LLVMdev] bug of tail call optimization on x86 target
Hi Tim, Thank you for your quick response. > I'm not convinced that's the best solution, at least conceptually. > SlotSize really is an unsigned quantity, and though it's unlikely we'd > like 0x80000000 to be interpreted as positive, rather than negative if > it ever does occur. I totally agree with you. I rewrote my fix and made a test case according to your suggestion. All of them are included in the...
2009 Nov 05
1
How to load a specific variable from an RData file?
I'm wondering if there is any option available in load() such that I can specify which variable I want to load from an RData file. I don't see such option in the help.
2003 Sep 29
4
panics on 24 hour boundaries
...2632, tf_ebx = 11, tf_edx = -1029989860, tf_ecx = 303703647, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1071105325, tf_cs = 8, tf_eflags = 66070, tf_esp = 0, tf_ss = -1030041600}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc0283ad3 in ufsdirhash_findfree (ip=0xc29ad000, slotneeded=24, slotsize=0xdf65dcc4) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:467 #7 0xc027df16 in ufs_lookup (ap=0xdf65dd18) at /usr/src/sys/ufs/ufs/ufs_lookup.c:200 #8 0xc0283105 in ufs_vnoperate (ap=0xdf65dd18) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #9 0xc01cc14e in vfs_cache_lookup (ap=0xdf65dd70) at vnode_if.h:77 #...