aarch64 toolchain support NEON and vfp features

2017-10-30 Thread Joy Deng
Hi ,

I am a  SW engineer that use Linaro-toolchain to build images,

Recently, I encounter some issue about enable NEON features on ARMv8 processor 
platform.
I cat cpuinfo, can not find neon and vfp feature enable in list, the image was 
build with aarch-64 toolchian;
While, the image built by armv7l toolchain can list "neon and vfp" in cpuinfo.

I want to verify from your side,

  1.  if the toolchain of aarch64 version already enable" neon and vfp " in 
default, Because I do not find some build items that  related with "neon",
  2.  If not supported defaultly, can you give some suggestion to enable it.

Thanks & B.R.
Joy Deng
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Week 43

2017-10-30 Thread Yvan Roux
* One day off

== Progress ==
o Linaro GCC/Validation
* Releases handover
   - GCC 5.5 source snapshot and RC1 deployed
   - GCC 6 and 7 RCs under construction

o LLVM
* Continue ramp-up
* Upstream bug 32999:
   - Validating a fix

o Misc
   * Various meetings and discussions.

== Plan ==
o Continue release handover and LLVM ramp-up
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: aarch64 toolchain support NEON and vfp features

2017-10-30 Thread Yao Qi
On 30 October 2017 at 07:52, Joy Deng  wrote:
> Hi ,
>
> I am a  SW engineer that use Linaro-toolchain to build images,
>
> Recently, I encounter some issue about enable NEON features on ARMv8 
> processor platform.
> I cat cpuinfo, can not find neon and vfp feature enable in list, the image 
> was build with aarch-64 toolchian;

In ARMv8, it should be "asimd".

> While, the image built by armv7l toolchain can list "neon and vfp" in cpuinfo.
>
> I want to verify from your side,
>
>   1.  if the toolchain of aarch64 version already enable" neon and vfp " in 
> default, Because I do not find some build items that  related with "neon",
>   2.  If not supported defaultly, can you give some suggestion to enable it.
>

It has nothing to do with toolchain.  The cpuinfo is retrieved from
Linux kernel,
and kernel returns something different for aarch64 process and aarch32
process, to order to be backward compatible.  That is why your apps
get different cpuinfo on the same kernel.

-- 
Yao Qi
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Linaro GCC CrossCompiler for ARMv8 - Weak Linkage issue

2017-10-30 Thread Maxim Kuvyrkov
> On Oct 27, 2017, at 6:10 AM, Veena & Deepak Ramaswamy  
> wrote:
> 
> All,
> 
> Using the tool chain that comes with the FVP package that I downloaded last
> month (Oct 2017), I'm trying to compile the Splash2 benchmark to execute on
> the latest FVP platform and seeing a compilation issue that goes like this
> (please see below)
> 
> ​To reproduce:​
> 
> ​1. download the benchmark from here and follow _all_ the instructions in
> the homepage:  ​http://www.capsl.udel.edu/splash/Download.html
> 2. edit the makefile.config under /splash2/codes to use linaro toolchain
> and choose POSIX_BARRIER for the MACROS section
> (I've pasted my makefile.config here as well - you will have to modify the
> toolchain paths to suit your setup)
> ​3. cd to splash2/codes/apps/ocean/contiguous_partitions
> 4. make (and you will see the problem)
> 
> Please help.
> Thanks.​
> 
> --
> 
> 
> /local/mnt/workspace/linaro/tools/gcc/gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
> jacobcalc.o jacobcalc2.o laplacalc.o linkup.o main.o multi.o slave1.o
> slave2.o subblock.o -v -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W
> -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
> -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare
> -Wendif-labels -lgcc -lc -lm -static -o OCEAN -lm -lc -lgcc -static

Your explicit linking flags might be causing the problem.  Try removing "-lgcc 
-lc" from your command line.

You can notice in the output that compiler driver adds "--start-group -lgcc -lc 
... --end-group" options, which is how -lgcc and -lc should be used when 
linking.

--
Maxim Kuvyrkov
www.linaro.org


___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] 23 October - 27 October 2017

2017-10-30 Thread Prathamesh Kulkarni
== This Week ==

* TCWG-1005 (4/10)
- Iteration on upstream feedback and validated patch
- Committed to trunk in r254140.

*  Reverse of TCWG-1253 transform (3/10)
- Adding reverse transform for div pattern in expand

* TCWG-1234 (2/10)
- Experimenting with "unhoisting" approach

* Misc (1/10)
- Meetings

== Next Week ==
- Continue ongoing and backlog tasks from JIRA
- Go through IPA mod/ref paper
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain