arm-eabi toolchain memcpy using hard float causing unaligned access

2017-11-10 Thread Yupeng Chang
Hi Linaro Team, I'm currently using toolchain gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi.tar.xz to develop my bera-metal programs. My compile option is "-marm -march=armv7-a -mt

Re: arm-eabi toolchain memcpy using hard float causing unaligned access

2017-11-10 Thread Yupeng Chang
mp;abc[i], &def[i]); memcpy(&abc[i], &def[i], sizeof(def) - i); } } If &abc[i] or &def[i] is not 4 bytes aligned, the whole system hangs. On Fri, Nov 10, 2017 at 4:04 PM Yupeng Chang wrote: > Hi Linaro Team, > I'm currently using toolchain > gcc-l

Re: arm-eabi toolchain memcpy using hard float causing unaligned access

2017-11-15 Thread Yupeng Chang
ode without any unaligned access. Maxim Kuvyrkov 于 2017年11月15日周三 21:04写道: > > > On Nov 10, 2017, at 11:04 AM, Yupeng Chang wrote: > > > > Hi Linaro Team, > > I'm currently using toolchain > > gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi.tar.xz > > < > htt

ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-18 Thread Yupeng Chang
Hi Dear Linaro Team, I recently found a very strange issue regarding the code performance. I have a loop written in GCC NEON. The binary of this coded generated by Linaro GCC 7.x is much faster than it generated by ARM GCC 8.x My CPU is ARM Cortex-A53 AARCH64. The compile option is: -Wall -O3 -mcp

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-20 Thread Yupeng Chang
Hi Maxim, Thank you for your reply! I'll summarize a testcase for you! Yupeng Chang Aug 21 2019 On Tue, Aug 20, 2019 at 9:15 PM Maxim Kuvyrkov wrote: > Hi Yupeng, > > There are many changes from Linaro GCC 7.x to ARM GCC 8.x, so it is > difficult to guess what may be going

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-20 Thread Yupeng Chang
going wrong. > > Do you have a testcase that you can share? With a testcase we can > investigate the problem and, possibly, fix it. > > Regards, > > -- > Maxim Kuvyrkov > www.linaro.org > > > > > On Aug 19, 2019, at 7:14 AM, Yupeng Chang wrote: > > > &

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-21 Thread Yupeng Chang
Hi Maxim, Thank you very much for looking into this ! Hope you can fix this regression and bring performance back to GCC! :D Yupeng Chang Aug 22 2019 On Wed, Aug 21, 2019 at 10:21 PM Maxim Kuvyrkov wrote: > Hi Yupeng, > > Great testcase, thanks! > > I've investigated thi

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-22 Thread Yupeng Chang
Hi Maxim, If you have any patches that need to be tested, you can send them to me. I can help you test this. Yupeng Chang Aug 23 2019 On Wed, Aug 21, 2019 at 10:21 PM Maxim Kuvyrkov wrote: > Hi Yupeng, > > Great testcase, thanks! > > I've investigated this, and there are

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-23 Thread Yupeng Chang
sults and, especially, whether this patch > regresses any of your other testcases. > > -- > Maxim Kuvyrkov > www.linaro.org > > > > > On Aug 23, 2019, at 8:34 AM, Yupeng Chang wrote: > > > > Hi Maxim, > > If you have any patches that need to be tested, yo

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-29 Thread Yupeng Chang
Hi Maxim, This patch does fix part of the regression. I don't see other regression on other software with this patch. I'm waiting for more updates / fixes from you. And thank you very much for your work! Yupeng Chang Aug 30 2019 On Thu, Aug 29, 2019 at 10:51 PM Maxim Kuvyrkov wr

Re: ARM GCC 8.x Performance Dropping Compared to Linaro GCC 7.x

2019-08-31 Thread Yupeng Chang
Hi Maxim, Thank you very much for investigating on this matter. Yupeng Chang Aug 31 2019 On Fri, Aug 30, 2019 at 2:36 PM Maxim Kuvyrkov wrote: > Hi Yupeng, > > I've filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 . All > future discussions will be in that bug e