Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] LLVM 2.8 download labeled as 2.8rc"
2012 Nov 29
0
[LLVMdev] Old JIT Status (i.e., can we delete it?)
On Nov 24, 2012, at 3:50 PM, Rafael EspĂndola wrote:
> On 24 November 2012 17:36, Chris Lattner <clattner at apple.com> wrote:
>> As others have said, unfortunately it is premature to remove the old jit. I don't know of anyone using the EH code though... It can almost certainly be removed!
>
> Cool. I will remove the EH bits by the end of the week if no one complains.
2012 Nov 29
1
[LLVMdev] Old JIT Status (i.e., can we delete it?)
I don't think that GDB support is even present in the latest version of the old JIT in trunk. It used to have code to register emitted functions with GDB in a way that let GDB find the function name and EH frame information, but that got taken out back in January (r147615). As it stands now, I don't think GDB would provide any useful information at all about code emitted by the old JIT.
2013 Jul 19
2
[LLVMdev] SIMD instructions and memory alignment on X86
What is "frep.x86.sse2.sqrt.pd". I'm only familiar with things prefixed
with "llvm.x86".
On Thu, Jul 18, 2013 at 10:12 PM, Peter Newman <peter at uformia.com> wrote:
> After stepping through the produced assembly, I believe I have a culprit.
>
> One of the calls to @frep.x86.sse2.sqrt.pd is modifying the value of ECX -
> while the produced code is
2013 Jul 17
0
[LLVMdev] SIMD instructions and memory alignment on X86
As someone off list just told me, perhaps my new bug is the same issue:
http://llvm.org/bugs/show_bug.cgi?id=16640
Do you happen to be using FastISel?
Solomon
On Jul 16, 2013, at 6:39 PM, Peter Newman <peter at uformia.com> wrote:
> Hello all,
>
> I'm currently in the process of debugging a crash occurring in our program. In LLVM 3.2 and 3.3 it appears that JIT generated
2013 Jul 19
2
[LLVMdev] SIMD instructions and memory alignment on X86
That should map directly to sqrtpd which can't modify ecx.
On Thu, Jul 18, 2013 at 10:27 PM, Peter Newman <peter at uformia.com> wrote:
> Sorry, that should have been llvm.x86.sse2.sqrt.pd
>
>
> On 19/07/2013 3:25 PM, Craig Topper wrote:
>
> What is "frep.x86.sse2.sqrt.pd". I'm only familiar with things prefixed
> with "llvm.x86".
>
2013 Jul 19
0
[LLVMdev] SIMD instructions and memory alignment on X86
After stepping through the produced assembly, I believe I have a culprit.
One of the calls to @frep.x86.sse2.sqrt.pd is modifying the value of ECX
- while the produced code is expecting it to still contain its previous
value.
Peter N
On 19/07/2013 2:09 PM, Peter Newman wrote:
> I've attached the module->dump() that our code is producing.
> Unfortunately this is the smallest test
2013 Jul 19
0
[LLVMdev] SIMD instructions and memory alignment on X86
Sorry, that should have been llvm.x86.sse2.sqrt.pd
On 19/07/2013 3:25 PM, Craig Topper wrote:
> What is "frep.x86.sse2.sqrt.pd". I'm only familiar with things
> prefixed with "llvm.x86".
>
>
> On Thu, Jul 18, 2013 at 10:12 PM, Peter Newman <peter at uformia.com
> <mailto:peter at uformia.com>> wrote:
>
> After stepping through the
2013 Jul 19
2
[LLVMdev] SIMD instructions and memory alignment on X86
Hmm, maybe sse isn't being enabled so its falling back to emulating sqrt?
On Thu, Jul 18, 2013 at 10:45 PM, Peter Newman <peter at uformia.com> wrote:
> In the disassembly, I'm seeing three cases of
> call 76719BA1
>
> I am assuming this is the sqrt function as this is the only function
> called in the LLVM IR.
>
> The code at 76719BA1 is:
>
>
2013 Jul 19
0
[LLVMdev] SIMD instructions and memory alignment on X86
In the disassembly, I'm seeing three cases of
call 76719BA1
I am assuming this is the sqrt function as this is the only function
called in the LLVM IR.
The code at 76719BA1 is:
76719BA1 push ebp
76719BA2 mov ebp,esp
76719BA4 sub esp,20h
76719BA7 and esp,0FFFFFFF0h
76719BAA fld st(0)
76719BAC fst dword ptr [esp+18h]
76719BB0 fistp
2013 Jul 19
0
[LLVMdev] SIMD instructions and memory alignment on X86
Is there something specifically required to enable SSE? If it's not
detected as available (based from the target triple?) then I don't think
we enable it specifically.
Also it seems that it should handle converting to/from the vector types,
although I can see it getting confused about needing to do that if it
thinks SSE isn't available at all.
On 19/07/2013 3:47 PM, Craig Topper
2006 Feb 22
3
OT: svn installation tutorial
Hello friendly Rails community,
I''m sorry for this OT post, I''ve just switched to Mac and as I see there
are so many friendly mac users here, may I ask is there another
good/nice Subversion installation tutorial instead of this one:
http://developer.apple.com/tools/subversionxcode.html?
Is there another way to install it without compiling Subversion by
myself? For example via
2013 Jul 17
2
[LLVMdev] SIMD instructions and memory alignment on X86
Hello all,
I'm currently in the process of debugging a crash occurring in our
program. In LLVM 3.2 and 3.3 it appears that JIT generated code is
attempting to perform access unaligned memory with a SSE2 instruction.
However this only happens under certain conditions that seem (but may
not be) related to the stacks state on calling the function.
Our program acts as a front-end, using the
2013 Jul 19
3
[LLVMdev] fptoui calling a function that modifies ECX
Try adding ECX to the Defs of this part of
lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a
Windows machine to test myself.
let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
"# win32 fptoui",
[(X86WinFTOL RFP32:$src)]>,
2012 Nov 24
2
[LLVMdev] Old JIT Status (i.e., can we delete it?)
On 24 November 2012 17:36, Chris Lattner <clattner at apple.com> wrote:
> As others have said, unfortunately it is premature to remove the old jit. I don't know of anyone using the EH code though... It can almost certainly be removed!
Cool. I will remove the EH bits by the end of the week if no one complains.
> -Chris
Cheers,
Rafael
2013 Jul 18
2
[LLVMdev] SIMD instructions and memory alignment on X86
Unfortunately, this doesn't appear to be the bug I'm hitting. I applied
the fix to my source and it didn't make a difference.
Also further testing found me getting the same behavior with other SIMD
instructions. The common factor is in each case, ECX is set to
0x7fffffff, and it's an operation using xmm ptr ecx+offset .
Additionally, turning the optimization level passed to
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
I don't think that's going to work.
On Fri, Jul 19, 2013 at 12:24 AM, Peter Newman <peter at uformia.com> wrote:
> Thank you, I'm trying this now.
>
>
> On 19/07/2013 5:23 PM, Craig Topper wrote:
>
> Try adding ECX to the Defs of this part of
> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a
> Windows machine to test
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
Here's my attempt at a fix. Adding Jakob to make sure I did this right.
On Fri, Jul 19, 2013 at 2:34 AM, Peter Newman <peter at uformia.com> wrote:
> That does appear to have worked. All my tests are passing now.
>
> I'll hand this out to our other devs & testers and make sure it's working
> for them as well (not just on my machine).
>
> Thank you,
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
Oh, excellent point, I agree. My bad. Now that I'm not assuming those
are the sqrt, I see the sqrtpd's in the output. Also there are three
fptoui's and there are 3 call instances.
(Changing subject line again.)
Now it looks like it's bug #13862
On 19/07/2013 4:51 PM, Craig Topper wrote:
> I think those calls correspond to this
>
> %110 = fptoui double %109 to i32
2008 May 09
3
For Social Network Analysis-Graph Analysis - How to convert 2 mode data to 1 mode data?
Hi,
Does anyone know of a package in R that has a function to convert
network data (e.g. an adjacency matrix or ) from 2-mode to 1-mode? I am
conducting social network analysis. I know that Pajek has this function
under Net --> Transform --> 2-mode to 1-mode --> Rows. I have searched
the documentation under packages 'sna', 'network', 'igraph', and
2013 Jul 19
2
[LLVMdev] SIMD instructions and memory alignment on X86
I've attached the module->dump() that our code is producing.
Unfortunately this is the smallest test case I have available.
This is before any optimization passes are applied. There are two
separate modules in existence at the time, and there are no guarantees
about the order the surrounding code calls those functions, so there may
be some interaction between them? There shouldn't