[Qemu-devel] [PATCH v1 02/10] target-ppc: rename CRF_* defines as CRF_*_BIT

2016-11-23 Thread Nikunj A Dadhania
Add _BIT to CRF_[GT,LT,EQ_SO] and introduce CRF_[GT,LT,EQ,SO] for usage without shifts in the code. This would simplify the code. Signed-off-by: Nikunj A Dadhania -- Note: Have not changed CRF defines for SPE extension. --- target-ppc/cpu.h| 21 + target-ppc/int_hel

Re: [Qemu-devel] [PATCH v1 02/10] target-ppc: rename CRF_* defines as CRF_*_BIT

2016-11-23 Thread David Gibson
On Wed, Nov 23, 2016 at 05:07:11PM +0530, Nikunj A Dadhania wrote: > Add _BIT to CRF_[GT,LT,EQ_SO] and introduce CRF_[GT,LT,EQ,SO] for usage > without shifts in the code. This would simplify the code. > > Signed-off-by: Nikunj A Dadhania Nice! -- David Gibson| I'll have my