sparc32 remove unnecessary & 0xffffffff
PATCH 1/1 sparc32 remove unnecessary & 0xffffffff
Remove unnecessary masking of lower word with 0xffffffff.
Index: target-sparc/op_helper.c
===================================================================
RCS file: /sources/qemu/qemu/target-sparc/op_helper.c,v retrieving revision 1.52
op_helper.c +5 -5
@@ -263,7 +263,7 @@ void helper_ld_asi(int asi, int size, incase 8 : tmp =ldq_code (T0 & ~7 ); ret = tmp >>32 ; -T0 = tmp &0xffffffff ; +T0 = tmp;break ; }break ;
@@ -282,7 +282,7 @@ void helper_ld_asi(int asi, int size, incase 8 : tmp =ldq_user (T0 & ~7 ); ret = tmp >>32 ; -T0 = tmp &0xffffffff ; +T0 = tmp;break ; }break ;
@@ -301,7 +301,7 @@ void helper_ld_asi(int asi, int size, incase 8 : tmp =ldq_kernel (T0 & ~7 ); ret = tmp >>32 ; -T0 = tmp &0xffffffff ; +T0 = tmp;break ; }break ;
@@ -325,7 +325,7 @@ void helper_ld_asi(int asi, int size, incase 8 : tmp =ldq_phys (T0 & ~7 ); ret = tmp >>32 ; -T0 = tmp &0xffffffff ; +T0 = tmp;break ; }break ;
@@ -349,7 +349,7 @@ void helper_ld_asi(int asi, int size, in tmp =ldq_phys ((target_phys_addr_t)(T0 & ~7 ) | ((target_phys_addr_t)(asi &0xf ) <<32 )); ret = tmp >>32 ; -T0 = tmp &0xffffffff ; +T0 = tmp;break ; }break ;
Blue Swirl
AppliedQuoted 1 line · Robert Reif
Remove unnecessary masking of lower word with
0xffffffff.
Applied, thank you.