Displaying 10 results from an estimated 10 matches similar to: "invalid code generated on Windows x86_64 using skylake-specific features"
2017 Oct 01
1
invalid code generated on Windows x86_64 using skylake-specific features
I suspect that there are 2 issues here:
* I have incorrect alignment somewhere
* MSVC / .pdb / CodeView debugging is not working correctly.
I think the latter would help solve the former.
I will send out a new email later talking about the issues I'm having
debugging llvm-generated binaries with MSVC.
On Sat, Sep 30, 2017 at 3:33 PM, Andrew Kelley <superjoe30 at gmail.com> wrote:
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
I figured it out. I was using this implementation of __chkstk from
compiler-rt:
DEFINE_COMPILERRT_FUNCTION(___chkstk)
push %rcx
cmp $0x1000,%rax
lea 16(%rsp),%rcx // rsp before calling this routine -> rcx
jb 1f
2:
sub $0x1000,%rcx
test %rcx,(%rcx)
sub $0x1000,%rax
cmp $0x1000,%rax
ja 2b
1:
2017 Sep 19
2
What is the correct Targettripple for generating a X86 COFF-Files on windows?
Just got started and stuck at the same time. Working with the C-Api, i have
come to the point where i want to emit a binary file for my module. I
queried the X86-Target and called LLVMCreateTargetMachine this way:
> LTarget := LLVMGetTargetFromName('x86');
> LMachine := LLVMCreateTargetMachine(LTarget, 'i386-win32-msvc', nil,
> nil, LLVMCodeGenLevelDefault,
2017 Sep 19
0
What is the correct Targettripple for generating a X86 COFF-Files on windows?
Prior to "win32" i used "windows"
2017-09-19 19:09 GMT+02:00 Alexander Benikowski <sebal007 at googlemail.com>:
> Just got started and stuck at the same time. Working with the C-Api, i
> have come to the point where i want to emit a binary file for my module. I
> queried the X86-Target and called LLVMCreateTargetMachine this way:
>
>> LTarget :=
2012 Dec 26
1
[LLVMdev] Proper values for LLVMCreateTargetMachine
I can't seem to get LLVMCreateTargetMachine to work on my box (MBP i7 OS X
10.8). What should the values of triple, cpu and features be? I'm just
looking for a way to get this up and going for now, I don't need specific
optimizations.
No matter what I send the function, I always get nil back. I'm giving it
LLVMGetFirstTarget as the target value.
Thanks for the help,
Timothy
2014 Jun 16
2
[LLVMdev] Regression in 3.4's register allocator?
Yep, quite right, Evan. Any regalloc differences due to that patch are purely coincidence;
-Jim
> On Jun 16, 2014, at 10:13 AM, Evan Cheng <evan.cheng at apple.com> wrote:
>
> Hi Niklas,
>
> The attached patch has nothing to do with register allocation. r206094 changes how cpu auto-detection is done. I believe it's now the responsibility of the tools (e.g. llc) to
2018 Mar 23
2
Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
I am using a debian 9 guest, hosted on a ESXi platform with nested
virtualisation enabled.
On this debian 9 guest when I run libguesfs-test-tool, it fails with an
error:
"qemu-system-x86_64:
/build/qemu-DqynNa/qemu-2.8+dfsg/target-i386/kvm.c:1805: kvm_put_msrs:
Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed."
Instead when I use a wrapper script and hook it with the env
2014 Aug 05
2
[LLVMdev] LLVM as a shared library
On Tue, Aug 5, 2014 at 2:57 PM, Filip Pizlo <fpizlo at apple.com> wrote:
>
> On Aug 5, 2014, at 2:51 PM, Eric Christopher <echristo at gmail.com> wrote:
>
> On Tue, Aug 5, 2014 at 2:49 PM, Filip Pizlo <fpizlo at apple.com> wrote:
>
>
> On Aug 5, 2014, at 1:46 PM, Eric Christopher <echristo at gmail.com> wrote:
>
> (7) Make the C API truly great.
2020 Feb 02
1
[OFF TOPIC] Teo En Ming's Guide to GPU/VGA Passthrough of NVidia GeForce GTX1650 to Windows 10 Virtual Machine using Linux KVM on Ubuntu 18.04.3 LTS Desktop Edition
[OFF TOPIC]
Hi Rowland Penny,
Good morning from Singapore.
Do you think my guide is well written?
Primary Subject: Teo En Ming's Guide to GPU/VGA Passthrough of NVidia GeForce GTX1650 to Windows 10 Virtual Machine using Linux KVM on Ubuntu 18.04.3 LTS Desktop Edition
Secondary Subject: Mr. Turritopsis Dohrnii Teo En Ming's Linux KVM GPU Passthrough Project, Started 1st Feb 2020
2012 Jun 30
2
[LLVMdev] llc -O# / opt -O# differences
Hey everyone,
I'm running stock LLVM 3.1 release. Both llc and opt programs have the
-O# arguments, however it looks like the results are somewhat
different. Here's a silly unoptimized bit of code which I'm generating
from my LLVM-backed program
; ModuleID = 'foo'
%Coord = type { double, double, double }
define double @foo(%Coord*, %Coord*) nounwind uwtable ssp {
entry: