Hi,
I just want to ask, if your phone will use the lib from the areabiv7-
a directory in your apk? My milestone will still use the armv5 one.
On 5月14日, 下午10时35分, Louise Cypher <
szatan.i....@gmail.com> wrote:
> -march=armv7-a -mfpu=neon -mfloat-abi=softfp
>
> crashes nicelly to ...
> so probably I'm doomed to assembly ... :/
>
> BTW ... this one crashes too ... so this is not a qword only flaw
>
> void CrashTest(float32_t *a, float32_t *b, float32_t *o)
> {
> float32x2_t ta, tb, tc;
>
> ta = vld1_f32(a);
> tb = vld1_f32(b);
> tc = vmul_f32(ta, tb);
>
> vst1_f32(o, tc);
> return;
>
> }
>
> On 14 May 2010 16:28, Mark Rawls <
mark.ra...@gmail.com> wrote:
>
>
>
> > You can try these flags:
> > -march=armv7-a -mfpu=neon -mfloat-abi=softfp
>
> > I haven't tried the functions you are using, but note that if you write
> > assembly with a neon quad-word multiply, the assembler will segfault in my
> > experience. It can handle some neon instructions, but some always cause a
> > segfault for me. If you really have to use these, the only solution I have
> > found is to embed the machine code yourself, in a .S assembly file (the
> > inline assembler has been flaky for me).
>
> > -Mark
>
> > On Fri, May 14, 2010 at 10:22 AM, Louise Cypher <
szatan.i....@gmail.com>wrote:
>
> >> but this is just load of float elements (with duplication), multiplication
> >> and store ???
> >> Did you actualy ben able to compile SOME neon based code ?
> >> What are your compilation flags ?
>
> >> On 14 May 2010 16:03, mic _ <
micol...@gmail.com> wrote:
>
> >>> Iirc I got some errors like that one with certain combinations of NEON
> >>> instructions and operands, even when they conformed to the documentation
> >>> from ARM. I don't know which is correct - gcc or the documentation. It's
> >>> certainly a very poor error message in any case.
>
> >>> /Michael
>
> >>> On Fri, May 14, 2010 at 3:42 PM, Louise Cypher <
szatan.i....@gmail.com>wrote:
>
> >>>> Hi
>
> >>>> I need some high perfomance code to be run on QSD8250 (the one in nexus
> >>>> one).
> >>>> So I'v changed architecture in build\toolchains\arm-eabi-4.4.0\setup.mkto be arm7 not arm5 and tried to compile some realy simple stuff:
> >>>>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >>>> .
> >>>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>
http://groups.google.com/group/android-ndk?hl=en.
>
> >> --
> >> --
> >> Code it black!
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "android-ndk" group.
> >> To post to this group, send email to
andro...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >> .
> >
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> > .
> For more options, visit this group athttp://
groups.google.com/group/android-ndk?hl=en.