Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] ARM ELF target and the use of VFP/NEON instructions"
2011 Feb 03
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote:
> I have submitted a bug some time ago to LLVM bugtracker:
> http://llvm.org/bugs/show_bug.cgi?id=8931
Hi Siarhei,
This is a really silly bug with a simple fix.
We have a similar patch here locally, but as this is part of another
set of patches we were waiting for it to stabilise. There are some
2011 Feb 25
2
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Thursday 03 February 2011 14:14:28 Renato Golin wrote:
> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>
wrote:
> > I have submitted a bug some time ago to LLVM bugtracker:
> > http://llvm.org/bugs/show_bug.cgi?id=8931
>
> Hi Siarhei,
>
> This is a really silly bug with a simple fix.
>
> We have a similar patch here
2011 Feb 25
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Fri, Feb 25, 2011 at 12:16 PM, Siarhei Siamashka
<siarhei.siamashka at gmail.com> wrote:
> On Thursday 03 February 2011 14:14:28 Renato Golin wrote:
>> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>
> wrote:
>> > I have submitted a bug some time ago to LLVM bugtracker:
>> > http://llvm.org/bugs/show_bug.cgi?id=8931
>>
2011 Feb 25
2
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Friday 25 February 2011 22:28:14 Jason Kim wrote:
> On Fri, Feb 25, 2011 at 12:16 PM, Siarhei Siamashka
>
> <siarhei.siamashka at gmail.com> wrote:
> > On Thursday 03 February 2011 14:14:28 Renato Golin wrote:
> >> On 3 February 2011 10:25, Siarhei Siamashka
> >> <siarhei.siamashka at gmail.com>
> >
> > wrote:
> >> > I have
2011 Feb 25
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
Hi Siarhei,
I've got the patch in my hands, sorry for the delay.
It takes into account the MC emitting the .fpu when in ASM mode and
the build attributes in both ASM and ELF mode.
Jason, that's the patch I was talking about today. It's non-invasive
and I'll send it no later than Monday, so should be in for the 2.9
release.
cheers,
--renato
2011 Nov 29
0
[LLVMdev] LLVM on ARM testing.
On Sun, Jul 3, 2011 at 11:32 PM, Karel Gardas <karel.gardas at centrum.cz> wrote:
> 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
>
2011 May 27
0
[LLVMdev] Question about ARM/vfp/NEON code generation
On 27 May 2011 02:04, David Dunkle <ddunkle at arxan.com> wrote:
> In all cases, I get code that looks pretty very the same; its like what
> is below. However, I am expecting to see instruction level differences
> between the vfp3 and neon versions. When I do the same with gcc 4.2 I do
> see differences in the generated code.
Hi David,
You could see different instructions (as
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,
2011 May 27
2
[LLVMdev] Question about ARM/vfp/NEON code generation
Thanks, that helps a lot.
> All chips (to date) with NEON have VFP3, so it's safe to assume that a
-mfpu=neon will have VFP3, so all the decisions
> about code generated for VFP3 can safely be assumed by targets with
NEON.
Just to confirm my understanding, can I correctly say in general that
the llc code generator might blur distinctions between NEON and VFP3
when it can do so
2011 May 27
1
[LLVMdev] Question about ARM/vfp/NEON code generation
I have a code generation question for ARM with VFP and NEON.
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.
2011 May 28
1
[LLVMdev] Question about ARM/vfp/NEON code generation
On 27 May 2011 19:47, Jim Grosbach <grosbach at apple.com> wrote:
> Not exactly. The distinction is clear, it's just not expressed as an
> either/or question. Specifically, the code generator considers NEON to be a
> proper superset of VFP3. So if it has only VFP3, that's all it will use. If
> it has NEON, it assumes it also has VFP3 and can use either.
Indeed.
>
2011 May 27
0
[LLVMdev] Question about ARM/vfp/NEON code generation
On May 27, 2011, at 10:49 AM, David Dunkle wrote:
> Thanks, that helps a lot.
>
>> All chips (to date) with NEON have VFP3, so it's safe to assume that a
> -mfpu=neon will have VFP3, so all the decisions
>> about code generated for VFP3 can safely be assumed by targets with
> NEON.
>
> Just to confirm my understanding, can I correctly say in general that
>
2013 May 30
9
[PATCH v2 0/2] Implement VFP context switch for arm32
Hello,
This is the second version of this patch series.
I only implement the VPF context switch support for arm32 and add dummy function
to avoid compilation on arm64.
I have switched the order of the patch because the old second one can be applied
alone and the patch are cleaner :).
For all the changes see each patch.
Cheers,
Julien Grall (2):
xen/arm: don''t enable VFP on XEN
2016 Mar 25
0
NEON FP flags
Hi Renato,
As I understand it, the fundamental property being addresses here is: Are the semantics of scalar FP math the same as vector FP math? TTI seems like a good place to expose that information. If the semantics are indeed different, then the vectorizer would require fast-math flags in order to vectorize FP operations (similarly, gcc's man page says it requires
2016 Mar 22
2
NEON FP flags
On 22 March 2016 at 11:34, James Molloy <James.Molloy at arm.com> wrote:
> I don’t think this part is right. The denormal flag would have to be set by
> whatever code generates the FP instruction, which would be Clang’s codegen
> layer. So the if (Darwin) would be there, not in TTI.
Right, I meant the information to set/not set would be in TTI, not the
actual setting.
I don't
2016 Mar 25
3
NEON FP flags
On 25 March 2016 at 04:11, Hal Finkel <hfinkel at anl.gov> wrote:
> As I understand it, the fundamental property being addresses here is: Are the semantics of scalar FP math the same as vector FP math? TTI seems like a good place to expose that information. If the semantics are indeed different, then the vectorizer would require fast-math flags in order to vectorize FP operations
2010 Apr 08
1
[LLVMdev] compiler-rt's arm vfp o<= implementation
The implementation of an float ordered <= looks buggy, but maybe I'm not
reading the assembly right. This is lesf2vfp.S in compiler-rt, and it has
this code:
// extern int __lesf2vfp(float a, float b);
//
// Returns one iff a <= b and neither is NaN.
// Uses Darwin calling convention where single precision arguments are passsed
// like 32-bit ints
//
2009 Nov 11
0
[LLVMdev] speed up memcpy intrinsic using ARM Neon registers
On Nov 11, 2009, at 3:27 AM, Rodolph Perfetta wrote:
>
> If you know about the alignment, maybe use structured load/store
> (vst1.64/vld1.64 {dn-dm}). You may also want to work on whole cache
> lines
> (64 bytes on A8). You can find more in this discussion:
> http://groups.google.com/group/beagleboard/browse_thread/thread/12c7bd415fbc
>
2013 Jun 07
2
[LLVMdev] NEON vector instructions and the fast math IR flags
>> Darwin uses NEON for floating point, but does *not* (and should not).
>> globally enable fast math flags. Use of NEON for FP needs to remain
>> achievable without globally setting the fast math flags. Fast math may
>> imply reasonably imply NEON, but the opposite direction is not accurate.
| Good point. Fast math is probably a too tough requirement. I need to
| look
2014 Dec 24
6
[RFC][FFT][Fixed-Point][NEON] NEON-Optimize Fixed-Point FFT?
Hi,
I am working on DSP module of Ne10. I see there are fixed-point and floating-point FFT inside Opus. Is fixed-point FFT only a fall back for CPU without VFP? On ARMv7-A and ARMv8-A, benchmark result shows that fixed-point (int32) and floating-point (float32) FFT have similar performance. I guess fixed-point version is not often used on these platforms. Is it worth the effort to NEON-optimize