Warning: unpredictable: identical transfer and status registers --`stxr w4,x5,[x4] using aarch64 poky gcc 8.3

2019-02-12 Thread Peng Fan
Hi, We met an issue when building a piece jailhouse hypervisor code, "stxr %w0, %3, %2\n\t" is compiled as "stxr w4,x5,[x4]" which triggers the warning "Warning: unpredictable: identical transfer and status registers" After folder the do while into asm code, it is compiled as "stxr w1, x4, [x

GSoC 2019

2019-02-12 Thread Shourya IIT B
Respected Sir, I am Parashuram Shourya from India. Currently, I am doing my Master’s in Geoinformatics from Centre of Studies in Resources Engineering(CSRE), Indian Institute of Technology Bombay(IITB). I have a Bachelor's degree in Computer Science and Engineering. Currently, I am learnin

Re: Parallelize the compilation using Threads

2019-02-12 Thread Richard Biener
On Mon, Feb 11, 2019 at 10:46 PM Giuliano Belinassi wrote: > > Hi, > > I was just wondering what API should I use to spawn threads and control > its flow. Should I use OpenMP, pthreads, or something else? > > My point what if we break compatibility with something. If we use > OpenMP, I'm afraid th

Re: question about inlining long call sequence

2019-02-12 Thread Martin Jambor
On Tue, Feb 12 2019, Bin.Cheng wrote: > Hi, > When reading inlining code in GCC, I wonder if we have size heuristics > to limit inlining long call sequence? For example, for call sequence > A -> B -> C -> D -> ... -> X -> Y -> Z > if each function call grows size by a very small amount, inlining Z

question about inlining long call sequence

2019-02-12 Thread Bin.Cheng
Hi, When reading inlining code in GCC, I wonder if we have size heuristics to limit inlining long call sequence? For example, for call sequence A -> B -> C -> D -> ... -> X -> Y -> Z if each function call grows size by a very small amount, inlining Z all the way up to the outermost function could

Re: How to use pragma in a compound literal in GCC 9

2019-02-12 Thread Jakub Jelinek
On Tue, Feb 12, 2019 at 06:19:56PM +1100, Daurnimator wrote: > A project I help maintain has had a report that it fails to compile with GCC 9 > https://github.com/wahern/cqueues/issues/212#issuecomment-461693111 > > I've attached a minimal reproduction of the issue. > Trying to compile it results