search for: softfp

Displaying 20 results from an estimated 49 matches for "softfp".

2012 Apr 15
3
[LLVMdev] About LLVM 3.1 ARM testing
> Ubuntu on ARM is softfp, right? How about testing hardfp with a > distribution like ArchLinuxArm? Yes, Ubuntu on ARM is softfp. But I already told Bill the platform I prepare to test and the testing day begins *tomorrow*, I prefer what it likes now. BTW, what if I use a cross compiler with hardfp enabled to compile...
2016 Mar 25
3
NEON FP flags
..., but it's bogus. My proposal is to make it count. The best way I can think of is to let -mfpmath=vfp *disable* only FP NEON and -mfpmath=neon *enable* only FP NEON, both orthogonal from integer math. Examples: Works today: -mfpu=soft -> Int (ALU), FP (LIB), no VFP/NEON instructions -mfpu=softfp -> Int (ALU), FP (LIB), VFP/NEON instructions allowed -mfpu=vfp -> Int (ALU), FP (VFP) -mfpu=neon -> Int (NEON), FP (NEON) Change proposed: -mfpmath=neon -mfpu=vfp -> Int (ALU), FP (NEON) -mfpmath=vfp -mfpu=neon -> Int (NEON), FP (VFP) This would be similar enough to GCC, and would...
2016 Mar 29
1
NEON FP flags
...unt. > > The best way I can think of is to let -mfpmath=vfp *disable* only FP > NEON and -mfpmath=neon *enable* only FP NEON, both orthogonal from > integer math. > > Examples: > > Works today: > -mfpu=soft -> Int (ALU), FP (LIB), no VFP/NEON instructions > -mfpu=softfp -> Int (ALU), FP (LIB), VFP/NEON instructions allowed > -mfpu=vfp -> Int (ALU), FP (VFP) > -mfpu=neon -> Int (NEON), FP (NEON) > > Change proposed: > -mfpmath=neon -mfpu=vfp -> Int (ALU), FP (NEON) > -mfpmath=vfp -mfpu=neon -> Int (NEON), FP (VFP) > > This w...
2013 Dec 11
1
[LLVMdev] runtime performance benchmarking tools for clang
...ag in execution time due to floating point operations, it was clearly observed that gcc used floating point instruction FSQRT, where as clang seemed to use emulated function (?) BL SQRT. Note that we used the following flags for both clang as well as gcc compilation. -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 Infact, i was surprised to see that even when " -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mtune=cortex-a8" was used, the code generated did not use hardware vsqrt instruction, instead there was a bl sqrt instruction. Could someone point out why...
2011 Jul 05
0
[LLVMdev] LLVM on ARM testing.
...fixed by Eli last month, so not to worry. Do we have a similar thing for x86? Just to make sure the Mips errors are not ARM specific. About your configure options, I have some questions: - You use "--with-arch=armv6 --with-tune=cortex-a8", shouldn't it be armv7? - You're using softfp on Cortex-A8, have you tried with VFPv3/NEON? - On GCC 4.4.5 you're using "--with-float=softfp --with-fpu=vfpv3-d16" and (correctly) "--with-arch=armv7-a", which mode prevails? Soft or hard? - You're using Thumb on 4.4.5 and 4.5.2 only, any special reason not to use Th...
2014 Oct 17
5
[LLVMdev] Performance regression on ARM
...er’s complex arithmetic changes are also in the range: r219557 in clang. We saw it change the code in mandel-2 significantly. mandel-2 is broken on hard FP ABI systems, btw. The reason is simply: we're emitting a call to __muldc3 with AAPCS VFP calling convention, however, the function expects softfp (AAPCS) calling conv and reads garbage from GP registers. I'm working on fix. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2013 Dec 11
0
[LLVMdev] runtime performance benchmarking tools for clang
...or lag in execution time due to floating point operations, it was clearly observed that gcc used floating point instruction FSQRT, where as clang seemed to use emulated function (?) BL SQRT. Note that we used the following flags for both clang as well as gcc compilation. -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 Infact, i was surprised to see that even when " -march=armv7-a -mfloat-abi= *hard* -mfpu=vfpv3-d16 -mtune=cortex-a8" was used, the code generated did not use hardware *vsqrt* instruction, instead there was a *bl sqrt* instruction. Could someone point out w...
2012 Apr 14
0
[LLVMdev] About LLVM 3.1 ARM testing
....K. so that we don't waste the precious time. As > discussed > on the ML before, I plan to cross compile LLVM/Clang first, then run > regression > test and test suite on the pandaboards. Could someone help me check to see > if I > miss something? Thanks! > Ubuntu on ARM is softfp, right? How about testing hardfp with a distribution like ArchLinuxArm? > Here is the pandaboard configuration, > > --- > $ uname -a > Linux arm2 2.6.38-1208-omap4 #11-Ubuntu SMP PREEMPT Fri Apr 15 16:34:35 > UTC 2011 armv7l armv7l armv7l GNU/Linux > $ gcc -v > gcc versi...
2012 Apr 14
2
[LLVMdev] About LLVM 3.1 ARM testing
Hi all, Since the 3.1 testing day is coming and be a ARM tester, I would like to make sure everything is O.K. so that we don't waste the precious time. As discussed on the ML before, I plan to cross compile LLVM/Clang first, then run regression test and test suite on the pandaboards. Could someone help me check to see if I miss something? Thanks! Here is the pandaboard configuration,
2013 Oct 03
3
[LLVMdev] runtime performance benchmarking tools for clang
Hi All, Could anyone point me to some good benchmarking tools to measure the runtime performance of clang compiled C++ applications. Thanks ! - Jyoti -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131003/3cc029f1/attachment.html>
2012 Apr 15
0
[LLVMdev] About LLVM 3.1 ARM testing
On Sun, Apr 15, 2012 at 2:02 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > > Ubuntu on ARM is softfp, right? How about testing hardfp with a > > distribution like ArchLinuxArm? > > Yes, Ubuntu on ARM is softfp. But I already told Bill the platform I > prepare > to test and the testing day begins *tomorrow*, I prefer what it likes now. > BTW, > what if I use a cross compi...
2013 Apr 12
1
[LLVMdev] arm machine code with clang 3.2
...realized that "-ccc-host-triple" is no longer valid option in clang. p.s. I googled and found the following which doesn't work with clang 3.2. To cross-compile for Raspberry Pi add flags -ccc-host-triple arm-eabi -marm -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130412/1b3d23ca/attachment.html>
2011 Jul 08
1
[LLVMdev] LLVM on ARM testing.
...feeling about LLVM-2.9 on x86 and ARM, was that x86 was in better shape -- that was a time I tested on x86... > About your configure options, I have some questions: > > - You use "--with-arch=armv6 --with-tune=cortex-a8", shouldn't it be armv7? > > - You're using softfp on Cortex-A8, have you tried with VFPv3/NEON? > > - On GCC 4.4.5 you're using "--with-float=softfp --with-fpu=vfpv3-d16" > and (correctly) "--with-arch=armv7-a", which mode prevails? Soft or > hard? > > - You're using Thumb on 4.4.5 and 4.5.2 only, any...
2014 Nov 06
2
[LLVMdev] Cross-compiler to arm
...t to use LLVM to compile the C code to arm. Host: Mac OS X 10.10 Target: Pandaboard, armv7l, ubuntu I found some useful information but not worked yet. I tried like this: $ clang -fomit-frame-pointer -ggdb -emit-llvm --target=armv7l-unknown-linux-eabi -mcpu=cortex-a9 —mfpu=neon -mfloat-abi=softfp --sysroot=/... test.c -c -o test.bc --> clang-3.5: error: no such file or directory: '—mfpu=neon' clang-3.5: error: -emit-llvm cannot be used when linking clang-3.5: error: no such file or directory: '—-sysroot=...' when I tried like this: $ clang -fomit-frame-poin...
2011 Jul 03
9
[LLVMdev] LLVM on ARM testing.
Hello, I asked here for kind of reference GCC version which LLVM development team is using for *native* testing on ARM hardware. (no cross compilation!) last week or so. I've been curious myself how the situation looks and so I tested LLVM 2.9 as a reference point and LLVM HEAD as of June 29 on ARMv7 (two boards with two different Ubuntu versions) compiled by GCC 4.3.4, 4.4.1, 4.4.5,
2010 Nov 25
2
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
...ed that a destination register is also used as source register. In 2007 a patch was discussed at the mailing list, however my compiler still is producing this result. Does anyone know if this patch is actually applied? * I use the following arguments: llvm-gcc -mfpu=vfp -mlittle-endian -mfloat-abi=softfp -march=armv5 -S -O3 foo.c -S -o foo.s * Attached to this document foo.c and the resulting foo.s. Please, take note of the illegal instruction mul r0, r0, r2 at line 18. * The patch is discussed at: http://www.mail-archive.com/llvm-commits at cs.uiuc.edu/msg14069.html * llvm-gcc --version llvm-gcc (...
2011 May 26
2
[LLVMdev] LLVM CodeGen Engineer job opening with Apple's compiler team
Hi all, LLVM CodeGen and Tools team at Apple is looking for exceptional compiler engineers. This is a great opportunity to work with many of the leaders in the LLVM community. If you are interested in this position, please send your resume / CV and relevant information to evan.cheng at apple.com Thanks, Evan Job description The Apple compiler team is seeking an engineer who is strongly
2011 May 27
1
[LLVMdev] Question about ARM/vfp/NEON code generation
...I am generating code for the following function as a test: void FloatingPointTest(float f1, float f2, float f3) { float f4 = f1 * f2; if (f4 > f3) printf("%f\n",f2); else printf("%f\n",f3); } I have tried compiling with: 1. -mfloat-abi=softfp and -mfpu=neon 2. -mfloat-abi=hard and -mfpu=neon 3. -mfloat-abi=softfp and -mfpu=vfp3 4. -mfloat-abi=hard and -mfpu=vfp3 When I use --emit-llvm -c flags to generate bitcode, and then use llc to generate ARM assembler, I have tried supplying these flag variations to llc: 5. llc -mattr=+n...
2012 Feb 16
2
[LLVMdev] difference in function prologue generated with clang and gcc
1. I would like to know why there is a difference in function prologue generated for same function with clang and gcc. Compiler options used for gcc were as follows: arm-linux-gnueabi-gcc all-types.c -w -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfp -g -lm -o all-types_gcc Compiler options used for clang were as follows: /usr/local/bin/clang all-types.c -w -ccc-gcc-name arm-linux-gnueabi-gcc -ccc-host-triple arm-linux-gnueabi -ccc-clang-archs arm -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfp -g -lm -o all-types...
2012 Jan 23
1
[LLVMdev] Cross compilation error LLVM-3.0
...ystem-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.4.5 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include --build=i686-linux-gnu --host=i686-linux-gnu --target=arm-linux-gnueabi --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/ar...