Displaying 8 results from an estimated 8 matches for "_m_amd64".
2009 Mar 30
2
[LLVMdev] Bug in X86CompilationCallback_SSE
It looks fine to me. Anton, does it look ok to you?
Evan
On Mar 20, 2009, at 2:33 PM, Corrado Zoccolo wrote:
> I've created a patch (attached to the bug):
> http://llvm.org/bugs/attachment.cgi?id=2744, that goes in a different
> direction, and solves the safety problems.
> The patch uses original asm, but removes the call through plt, and
> puts the invoked function in an
2009 Mar 30
0
[LLVMdev] Bug in X86CompilationCallback_SSE
Hi Evan
> It looks fine to me. Anton, does it look ok to you?
This looks ok for me modulo win64+vcpp issues, which I mentioned in the
PR (external .asm files). The anonymous namespace thing should be
guarded by define (either _M_AMD64 or X86_64_JIT && _MSC_VER, I'd prefer
the latter).
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2014 Aug 27
4
syslinux efi configuration file name proposal
...bit variant
For the BIOS cpu architectures, there is already ifcpu[64].c32.
In my proposal, I am focusing on EFIIA32 and EFIX64 only.
If I understand correctly, your patch seems to be based on
"core/fs/lib/loadconfig.c":
+#if defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64)
which means (again, if I understand correctly) that it affects
BIOS-based systems too.
As potential reference, in
"gpxe/src/include/gpxe/efi/Uefi/UefiSpec.h" we have:
"// EFI File location to boot from on removable media devices"
So, my goal is to get the *EFI* architect...
2013 Nov 23
0
[LLVMdev] [PATCH] Detect Haswell subarchitecture (i.e. using -march=native)
...eturn the
+/// 4 values in the specified arguments. If we can't run cpuid on the host,
+/// return true.
+bool GetX86CpuIDAndInfoEx(unsigned value, unsigned subleaf, unsigned *rEAX,
+ unsigned *rEBX, unsigned *rECX, unsigned *rEDX) {
+#if defined(__x86_64__) || defined(_M_AMD64) || defined (_M_X64)
+ #if defined(__GNUC__)
+ // gcc doesn't know cpuid would clobber ebx/rbx. Preseve it manually.
+ asm ("movq\t%%rbx, %%rsi\n\t"
+ "cpuid\n\t"
+ "xchgq\t%%rbx, %%rsi\n\t"
+ : "=a" (*rEAX),
+ &qu...
2013 Nov 23
2
[LLVMdev] [PATCH] Detect Haswell subarchitecture (i.e. using -march=native)
I agree with Tim, you need to implement a GetCpuIDAndInfoEx function in
Host.cpp and pass the correct value to ecx. Also you need to verify that 7
is a valid leaf because an invalid leaf is defined to return the highest
supported leaf on that processor. So if a processor supports say leaf 6 and
not leaf 7, then an access leaf 7 will return the data from leaf 6 causing
unrelated bits to be
2014 Aug 27
0
syslinux efi configuration file name proposal
...is included in
Debian. But, the patches don't actually change much of the documented
default behavior in BIOS mode.
> If I understand correctly, your patch seems to be based on
> "core/fs/lib/loadconfig.c":
>
> +#if defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64)
>
> which means (again, if I understand correctly) that it affects
> BIOS-based systems too.
Right. It's a compile time peprocessor directive, which means that a
64bit version (which is probably never used in BIOS mode) will also take
into account the syslnx64.cfg config file.
&g...
2014 Aug 27
0
syslinux efi configuration file name proposal
Hello Ady & list,
On Wed, Aug 27, 2014 at 08:17:51AM +0300, Ady wrote:
> > Hello Ady,
> >
> > On Fri, Aug 01, 2014 at 08:35:27PM +0300, Ady wrote:
> > > Goal: To have one USB drive capable of booting UEFI IA32 and UEFI X64
> > > (with an optional Syslinux menu containing multiple entries).
> > >
> > > Problem (solved) #1: The default
2014 Aug 27
3
syslinux efi configuration file name proposal
> Hello Ady,
>
> On Fri, Aug 01, 2014 at 08:35:27PM +0300, Ady wrote:
> > Goal: To have one USB drive capable of booting UEFI IA32 and UEFI X64
> > (with an optional Syslinux menu containing multiple entries).
> >
> > Problem (solved) #1: The default directory location for both
> > syslinux.efi is the same.
> >
> > Solution #1: Rename each