writing a new Machine Description file (e.g cortex-a57.md) in gcc

2015-05-07 Thread Virendra Kumar Pathak
pipeline? How these *.md files are used? When they are compiled and how they are used? How to verify an md file for a processor is written correctly or not? How to test it? What other design consideration must be kept in mind while writing a new md file? Thanks. with regards, V

Re: writing a new Machine Description file (e.g cortex-a57.md) in gcc

2015-05-08 Thread Virendra Kumar Pathak
Hi Jim, Thanks for the reply. This of great help. Thanks Virendra On 7 May 2015 at 23:42, Jim Wilson wrote: > On Thu, May 7, 2015 at 10:56 AM, Jim Wilson wrote: > > There are various genX programs that read the md file and generate a > > insn-X.c file to perform actions based on info in the

Re: 502 connecting to abe.tcwglab.linaro.org

2015-05-14 Thread Virendra Kumar Pathak
Hi, I tried on abe 'stable' branch and with below configuration build was successful. ../abe/configure --with-fileserver=148.251.136.42 --with-remote-snapshots= http://148.251.136.42/snapshots-ref ../abe/abe.sh --target aarch64-linux-gnu --build all (Additionally I had to increase the wget_timeou

question on bfd - arch & mach

2015-05-27 Thread Virendra Kumar Pathak
_feature_set' structure. For example. if (ARM_CPU_HAS_FEATURE (cpu_variant, arm_cext_iwmmxt2)) mach = bfd_mach_arm_iWMMXt2; Whereas in aarch64 mach is derived based on API type (64 or 32). Any reason for this ? mach = ilp32_p ? bfd_mach_aarch64_ilp32 : bfd_mach_aarch64; Thanks in advance. -- with

Re: question on bfd - arch & mach

2015-05-31 Thread Virendra Kumar Pathak
Hi Jim, Thanks for giving the insight. On 27 May 2015 at 21:37, Jim Wilson wrote: > On Wed, May 27, 2015 at 1:21 AM, Virendra Kumar Pathak > wrote: > > 1. In the struct bfd_arch_info {...} (in bfd/bfd-in2.h) there are two > fields > > 'enum bfd_architecture arc

Tool for checking coding style in Linaro Toolchain

2015-06-02 Thread Virendra Kumar Pathak
the coding style of the patches they submit to Linaro Toolchain (GCC, Binutils etc). I assume manual inspection (line by line) may be very tedious thing to do. Thanks. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro

abe: cross native toolchain compilation for aarch64-linux-gnu

2015-06-03 Thread Virendra Kumar Pathak
ot; -eq 1; then - local builds="${builds} gdbserver" + local builds="${builds}" fi ----------- Thanks. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain

gcc-5 git branch

2015-06-06 Thread Virendra Kumar Pathak
branches ? Which branch should be used for development ? Is it branch (1) refers to GCC upstream branch for GCC5 & branch (2) is linaro version of branch (1). Please comment. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list li

mfpu=neon and -march=native on aarch64-linux-gnu toolchain

2015-06-09 Thread Virendra Kumar Pathak
5.1.1 (GCC) Thanks. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Re: mfpu=neon and -march=native on aarch64-linux-gnu toolchain

2015-06-10 Thread Virendra Kumar Pathak
don't need -mfpu=neon for AARCH64 at all. AARCH64 defaults to having > simd turned on. > > > Thanks, > > Andrew Pinski > ---------- > *From:* linaro-toolchain on > behalf of Virendra Kumar Pathak > *Sent:* Tuesday, June 9, 2015 10:26

Run time comparison of sin() in libm

2015-07-08 Thread Virendra Kumar Pathak
e incr = 0.732; double result, count = 0.0; printf("%s\n", __func__); while (count < 105414350.0) { result = sin(count); count += incr; } } Thanks. -- with regards, Virendra Kumar Pathak _

binutils - question on decoding decision tree for aarch64

2015-07-25 Thread Virendra Kumar Pathak
int them ? I made debug =1 but still print is not coming. 3. There are some auto-generated files like aarch64-asm-2.c, aarch64-dis-2.c. How to re-generate them ? Thanks. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-to

ABE - bug in copy_gcc_libs_to_sysroot() while building native toolchain for aarch64

2015-07-26 Thread Virendra Kumar Pathak
ug in ABE build infrastructure. Thanks. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain

abe - compiling cross aarch64 toolchain using local directory

2015-08-19 Thread Virendra Kumar Pathak
): checkout () ERROR (#193): checkout (No URL given!) ERROR (#161): checkout_all (Failed checkout out of gcc.) Am I missing something ? How can we use a local directory (e.g. gcc source code) for building toolchain using abe ? Please help. Thanks. -- with regards, Virendra Kumar Pathak

GNU GCC development plan and its interaction with Linaro

2015-12-02 Thread Virendra Kumar Pathak
amp; gcc 5.3)? 3. What is the working model between GNU GCC and Linaro GCC? Does Linaro directly accept patches? or they need to go to GNU GCC first? Thanks in advance for your time. with regards, Virendra Kumar Pathak -- with regards, Virendra Kuma

Re: GNU GCC development plan and its interaction with Linaro

2015-12-04 Thread Virendra Kumar Pathak
t will be in GCC > 7.0.0 > > IIRC, in some circumstances such patches can be acceptable during > Stage 3 if they are sufficiently self-contained and the port > maintainer accepts them. > -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Linaro-binutils release git tags

2015-12-16 Thread Virendra Kumar Pathak
git it is renamed to something else (same as FSF binutils tags?). Apology for asking such a trivial question. Thanks for your time. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.

Linaro LLVM engagement

2015-12-17 Thread Virendra Kumar Pathak
) at https://wiki.linaro.org/WorkingGroups/ToolChain/LLVM ask for login credentials. Any comment on how to obtain the permission? Thanks in advance for your time. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-tool

question on aarch64 libm

2016-01-18 Thread Virendra Kumar Pathak
going in glibc's libm? Any comment on its performance improvement over GNU libm ? Thanks in advance for your time. -- with regards, Virendra Kumar Pathak ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/ma

ldr instruction selection in the aarch64 backend

2016-02-05 Thread Virendra Kumar Pathak
e B? I could not find the function which is taking the decision based on return from aarch64_classify_address(). Could someone please explain this process or point me to the relevant files or code? Please correct me if my understanding is wrong. Thanks in advance for your time a

Re: ldr instruction selection in the aarch64 backend

2016-02-12 Thread Virendra Kumar Pathak
then knows that possibility for a+b is a legitimate address so it forces x3 > << 3 into a register and tries aarch64_legitimate_address_hook_p again. > > > > Thanks, > > Andrew Pinski > > > > *From:* linaro-toolchain [mailto:linaro-toolchain-boun...@lists.lina

setting loop buffer size in the gcc (aarch64)

2016-02-17 Thread Virendra Kumar Pathak
ader in the executable. This should not play any role in loop unrolling. Right? So any guidance on how we can instruct aarch64 backend to utilize loop buffer size in deciding the loop unrolling factor? Thanks in advance for your time. -- with regards, Virendra K