Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-07 Thread Richard Henderson
On 7/7/20 7:26 AM, LIU Zhiwei wrote: > AsĀ  there are not only the atomic instructions have this question, all > instructions that use > GEN_VEXT_TRANS have the same question too. It's some difficult to address this > question by this way. Oh yes, I missed that. Ok, perhaps the simpler assert

Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-07 Thread LIU Zhiwei
On 2020/7/7 4:48, Richard Henderson wrote: On 7/5/20 11:20 AM, Peter Maydell wrote: On Thu, 2 Jul 2020 at 17:33, Alistair Francis wrote: From: LIU Zhiwei Vector AMOs operate as if aq and rl bits were zero on each element with regard to ordering relative to other instructions in the same

Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-06 Thread LIU Zhiwei
On 2020/7/7 7:36, Alistair Francis wrote: On Sun, Jul 5, 2020 at 11:20 AM Peter Maydell wrote: On Thu, 2 Jul 2020 at 17:33, Alistair Francis wrote: From: LIU Zhiwei Vector AMOs operate as if aq and rl bits were zero on each element with regard to ordering relative to other instructions

Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-06 Thread Alistair Francis
On Sun, Jul 5, 2020 at 11:20 AM Peter Maydell wrote: > > On Thu, 2 Jul 2020 at 17:33, Alistair Francis > wrote: > > > > From: LIU Zhiwei > > > > Vector AMOs operate as if aq and rl bits were zero on each element > > with regard to ordering relative to other instructions in the same hart. > >

Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-06 Thread Richard Henderson
On 7/5/20 11:20 AM, Peter Maydell wrote: > On Thu, 2 Jul 2020 at 17:33, Alistair Francis > wrote: >> >> From: LIU Zhiwei >> >> Vector AMOs operate as if aq and rl bits were zero on each element >> with regard to ordering relative to other instructions in the same hart. >> Vector AMOs provide no

Re: [PULL v2 12/64] target/riscv: add vector amo operations

2020-07-05 Thread Peter Maydell
On Thu, 2 Jul 2020 at 17:33, Alistair Francis wrote: > > From: LIU Zhiwei > > Vector AMOs operate as if aq and rl bits were zero on each element > with regard to ordering relative to other instructions in the same hart. > Vector AMOs provide no ordering guarantee between element operations > in

[PULL v2 12/64] target/riscv: add vector amo operations

2020-07-02 Thread Alistair Francis
From: LIU Zhiwei Vector AMOs operate as if aq and rl bits were zero on each element with regard to ordering relative to other instructions in the same hart. Vector AMOs provide no ordering guarantee between element operations in the same vector AMO instruction Signed-off-by: LIU Zhiwei