Displaying 20 results from an estimated 35 matches for "mx32".
Did you mean:
m32
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...d 32 bit x32
+ ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32)
+ SupportedArches := x32
+ ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0)
+ SupportedArches += x86_64
+ endif
+ else
+ SupportedArches := x86_64
+ ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0)
+ SupportedArches += x32
+ endif
+ endif
ifeq ($(call TryCompile,$(CC),$(test_source),-m32),0)
SupportedArches += i386
endif
@@ -74,6 +85,22 @@
Arch.lsan-x86_64 := x86_64
endif
+# Build runtime libraries for x32.
+ifeq ($(call contains,$(SupportedArches),x32),true)
+Conf...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...subst -gnu, ,$(CompilerTargetTriple))),x32)
> + SupportedArches := x32
> + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0)
> + SupportedArches += x86_64
> + endif
> + else
> + SupportedArches := x86_64
> + ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0)
> + SupportedArches += x32
> + endif
> + endif
> ifeq ($(call TryCompile,$(CC),$(test_source),-m32),0)
> SupportedArches += i386
> endif
> @@ -74,6 +85,22 @@
> Arch.lsan-x86_64 := x86_64
> endif
>
> +# Build runtime libraries for x32.
>...
2013 Aug 22
0
[LLVMdev] [cfe-dev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
...TargetJumpTable<0> [ID=3]
In function: __atomic_compare_exchange
clang: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.4 (trunk)
Target: x86_64-pc-linux-gnux32
Thread model: posix
This is what happens when compiling compiler-rt with -m64 or -mx32,
exact same error without my patches (where -mx32 is supported).
However, I know -mx32 isn't working since the objects always end up
elf_x86_64, which is why I known this is a somewhat unrelated bug.
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
...@@ -841,6 +841,7 @@
HelpText<"Enable hexagon-qdsp6 backward compatibility">;
def m3dnowa : Flag<["-"], "m3dnowa">, Group<m_x86_Features_Group>;
def m3dnow : Flag<["-"], "m3dnow">, Group<m_x86_Features_Group>;
+def mx32 : Flag<["-"], "mx32">, Group<m_Group>, Flags<[DriverOption]>;
def m64 : Flag<["-"], "m64">, Group<m_Group>, Flags<[DriverOption]>;
def mabi_EQ : Joined<["-"], "mabi=">, Group<m_Group>;
def...
2013 Aug 22
2
[LLVMdev] [cfe-dev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
Ah, I've replied in a different thread already. What Dmitri says - If
you're interesting in only building the Clang on x32 host, you may avoid
checking out compiler-rt repo for now.
On Thu, Aug 22, 2013 at 10:59 AM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
> On Wed, Aug 21, 2013 at 11:04 PM, Steven Newbury <steve at snewbury.org.uk>
> wrote:
> > I've
2013 Aug 22
7
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
...stream, but right now, the biggest blocker is the lack of
support for building with/codegen targeting x32 in llvm/clang. Since
the x32 patches were sent last year, I see support code has landed in
LLVM, and basic handling of 32-bit pointers in Clang, but no
elf32_x86_64 codegen or support for the -mx32 switch. I've been trying
to get x32 ABI support working in Clang and compiler-rt, I based off the
previous clang patch, bringing it up to date with the changes in trunk,
and hacked together handling of x32 "ARCH" support for compiler-rt.
(there must be a better way??)
Unfortunately,...
2018 Sep 21
2
X32 bugs around "cannot select" lingering around
Hi,
There's several, to my eyes, somewhat related looking bugs:
Bug 36743 - Cannot select: X86ISD::CALL ICE with -mx32 -O2 -fno-plt
https://bugs.llvm.org/show_bug.cgi?id=36743
Bug 34268 - JITting of x32 code on x64 fails with crash or instruction selection error.
https://bugs.llvm.org/show_bug.cgi?id=34268
There's unfortunately been no investigation.
I'm asking because I hit something eerily looking like...
2016 Dec 19
0
opt -instcombine interesting behavior
...d candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6 Found
> candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
> Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
> Candidate multilib: .;@m64
> Candidate multilib: 32;@m32
> Candidate multilib: x32;@mx32
> Selected multilib: .;@m64
>
>
> llvm-as small.ll -o small.bc
> opt -instcombine small.bc -o smallOpt.bc
>
>
> define i32 @main() {
> %reg = alloca i32, i32 0
> store i32 1, i32* %reg
> %1 = getelementptr i32, i32* %reg, i32 0
> %2 = bitcast i32* %1...
2016 Dec 19
3
opt -instcombine interesting behavior
...6_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
llvm-as small.ll -o small.bc
opt -instcombine small.bc -o smallOpt.bc
define i32 @main() {
%reg = alloca i32, i32 0
store i32 1, i32* %reg
%1 = getelementptr i32, i32* %reg, i32 0
%2 = bitcast i32* %1 to [4 x i8]*
%3 = getelementptr [4 x i8], [4 x i8]* %2, i3...
2016 Dec 19
1
opt -instcombine interesting behavior
...allation: /usr/lib/gcc/x86_64-linux-gnu/6 Found
>> candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
>> Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
>> Candidate multilib: .;@m64
>> Candidate multilib: 32;@m32
>> Candidate multilib: x32;@mx32
>> Selected multilib: .;@m64
>>
>>
>> llvm-as small.ll -o small.bc
>> opt -instcombine small.bc -o smallOpt.bc
>>
>>
>> define i32 @main() {
>> %reg = alloca i32, i32 0
>> store i32 1, i32* %reg
>> %1 = getelementptr i32, i32*...
2017 Nov 27
2
Go Tsan check failure
...th-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin
--enable-default-pie --with-system-zlib --with-target-system-zlib
--enable-objc-gc=auto --enable-multiarch --disable-werror
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3)
Is there a way to disable Go, or at lea...
2017 Nov 28
2
Go Tsan check failure
...e-gnu-unique-object
>> --disable-vtable-verify --enable-libmpx --enable-plugin
>> --enable-default-pie --with-system-zlib --with-target-system-zlib
>> --enable-objc-gc=auto --enable-multiarch --disable-werror
>> --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
>> --enable-multilib --with-tune=generic
>> --enable-offload-targets=nvptx-none --without-cuda-driver
>> --enable-checking=release --build=x86_64-linux-gnu
>> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
>> Thread model: posix
>> gcc version 7.2.0 (Ubuntu 7....
2013 Aug 22
3
[LLVMdev] [NEW PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
...@@ -841,6 +841,7 @@
HelpText<"Enable hexagon-qdsp6 backward compatibility">;
def m3dnowa : Flag<["-"], "m3dnowa">, Group<m_x86_Features_Group>;
def m3dnow : Flag<["-"], "m3dnow">, Group<m_x86_Features_Group>;
+def mx32 : Flag<["-"], "mx32">, Group<m_Group>, Flags<[DriverOption]>;
def m64 : Flag<["-"], "m64">, Group<m_Group>, Flags<[DriverOption]>;
def mabi_EQ : Joined<["-"], "mabi=">, Group<m_Group>;
def...
2016 Aug 01
0
[GPUCC] link against libdevice
...nu/4.8.4*
*Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9*
*Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3*
*Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8*
*Candidate multilib: .;@m64*
*Candidate multilib: 32;@m32*
*Candidate multilib: x32;@mx32*
*Selected multilib: .;@m64*
*Found CUDA installation: /usr/local/cuda*
* "/usr/local/bin/clang-3.9" -cc1 -triple nvptx64-nvidia-cuda -aux-triple
x86_64-unknown-linux-gnu -S -disable-free -main-file-name scalarProd.cu
-mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath...
2014 Sep 27
0
possible error in rdevel with --enable-strict-barrier?
...ith-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Debian 4.8.2-1)
I should mention that I've also installed gcc 4.9.1 to try combining
ASAN and UBSAN i.e. -fsanitize=undefined,addre...
2020 May 20
3
10.0.1-rc1 release has been tagged
...lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
$ ./bin/ld.lld -v
LLD 10.0.1rc1 (compatible with GNU linkers)
$ find ./ -name '*.so*' | sort
./lib/BugpointPasses.so
./lib/libclang-cpp.so
./lib/libclang-cpp.so.10
./lib/libclang.so
./lib/libclang.so.10
./lib/libLTO.so
./lib/libLTO.so.10
./lib/libRemarks.so
./lib...
2012 Jun 05
2
[LLVMdev] [PATCH] add x32 psABI support
...adding X32 psABI support (https://sites.google.com/site/x32abi/), respectively to LLVM and clang. The patch to LLVM adds X32 psABI support and introduce a new 'X32' environment for x86-64 target to tell X32 psABI from LP64 psABI (i.e. the original x86-64 ABI). The patch to clang adds '-mx32' option to generate x32 binaries as well as support calling convention changes due to pointer size reduction. Please commit the patch if it seems acceptable.
This new osABI, X32 psABI, allows programs to run in the 64-bit mode but only using 32-bit pointers. Though, programs will be limited to...
2018 Aug 29
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
...-abi=new --enable-gnu-unique-object
> --disable-vtable-verify --enable-libmpx --enable-plugin
> --enable-default-pie --with-system-zlib --with-target-system-zlib
> --enable-objc-gc=auto --enable-multiarch --disable-werror
> --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
> --enable-multilib --with-tune=generic
> --enable-offload-targets=nvptx-none --without-cuda-driver
> --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 8.2.0 (Debian 8.2.0-4)
>
> I have...
2016 Aug 01
3
[GPUCC] link against libdevice
...d candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
> Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
> Candidate multilib: .;@m64
> Candidate multilib: 32;@m32
> Candidate multilib: x32;@mx32
> Selected multilib: .;@m64
> Found CUDA installation: /usr/local/cuda
> "/usr/local/bin/clang-3.9" -cc1 -triple nvptx64-nvidia-cuda -aux-triple
> x86_64-unknown-linux-gnu -S -disable-free -main-file-name scalarProd.cu
> -mrelocation-model static -mthread-model posix -mdis...
2017 Nov 28
1
Go Tsan check failure
...> --disable-vtable-verify --enable-libmpx --enable-plugin
>>>> --enable-default-pie --with-system-zlib --with-target-system-zlib
>>>> --enable-objc-gc=auto --enable-multiarch --disable-werror
>>>> --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
>>>> --enable-multilib --with-tune=generic
>>>> --enable-offload-targets=nvptx-none --without-cuda-driver
>>>> --enable-checking=release --build=x86_64-linux-gnu
>>>> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
>>>> Thread model: pos...