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

2019-02-14 Thread Peng Fan
> -Original Message- > From: Michael Matz [mailto:m...@suse.de] > Sent: 2019年2月13日 22:45 > To: Peng Fan > Cc: gcc@gcc.gnu.org; james.greenha...@arm.com; n...@arm.com; > jailhouse-...@googlegroups.com; will.dea...@arm.com; Catalin Marinas > > Subject: RE

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

2019-02-13 Thread Peng Fan
> -Original Message- > From: Andreas Schwab [mailto:sch...@suse.de] > Sent: 2019年2月13日 21:59 > To: Peng Fan > Cc: gcc@gcc.gnu.org; james.greenha...@arm.com; n...@arm.com; > jailhouse-...@googlegroups.com; will.dea...@arm.com; Catalin Marinas > > Subject: Re

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

2019-02-13 Thread Peng Fan
Hi Michael, > -Original Message- > From: Michael Matz [mailto:m...@suse.de] > Sent: 2019年2月13日 22:28 > To: Peng Fan > Cc: gcc@gcc.gnu.org; james.greenha...@arm.com; n...@arm.com; > jailhouse-...@googlegroups.com; will.dea...@arm.com; Catalin Marinas > &

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

2019-02-13 Thread Peng Fan
> -Original Message- > From: jailhouse-...@googlegroups.com > [mailto:jailhouse-...@googlegroups.com] On Behalf Of Segher Boessenkool > Sent: 2019年2月13日 17:11 > To: Peng Fan > Cc: gcc@gcc.gnu.org; james.greenha...@arm.com; n...@arm.com; > jailhouse-...@googl

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

Re: GCC ARM: aligned access

2014-09-02 Thread Peng Fan
On 09/02/2014 09:25 PM, Julian Brown wrote: > On Mon, 1 Sep 2014 09:14:31 +0800 > Peng Fan wrote: > >> On 09/01/2014 08:09 AM, Matt Thomas wrote: >>> >>> On Aug 31, 2014, at 11:32 AM, Joel Sherrill >>> wrote: >>>> I think this is totall

Re: GCC ARM: aligned access

2014-08-31 Thread Peng Fan
On 09/01/2014 08:09 AM, Matt Thomas wrote: > > On Aug 31, 2014, at 11:32 AM, Joel Sherrill wrote: > >>> Hi, >>> >>> I am writing some code and found that system crashed. I found it was >>> unaligned access which causes `data abort` exception. I write a piece >>> of code and objdump >>> it. I a

GCC ARM: aligned access

2014-08-31 Thread Peng Fan
Hi, I am writing some code and found that system crashed. I found it was unaligned access which causes `data abort` exception. I write a piece of code and objdump it. I am not sure this is right or not. command: arm-poky-linux-gnueabi-gcc -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relo