Re: Symbol + Constant output.

2020-11-05 Thread Hongyu Wang via Gcc
Hi, I've adjust the testcase and now it only contains constant offset, since with -fPIC the mov target address does not contain any symbol in the assembler. Could you help to check the attached changes on darwin and see if they all get passed? (I still can not build darwin target currently) Tha

Re: Symbol + Constant output.

2020-11-04 Thread Hongyu Wang via Gcc
bol+offset for that case on Darwin (i.e. the same as > final.c). > That means the i386.c part should align with final.c, but I can't make the decision, and I'm not sure if there is more failure in x86 tests with this change. Iain Sandoe 于2020年11月4日周三 下午4:27写道: > > Hi, > &g

Re: Symbol + Constant output.

2020-11-04 Thread Hongyu Wang via Gcc
> Maybe those scan-asm regexp are too strict and should be relaxed a > bit. I agree with this, since with -fPIC the code produced would be different, just use symbol + constant may be too strict. I think the scan-assembler could be reduced to /* { dg-final { scan-assembler "(?:movdqu|movups)\[ \\