qemu/target/hppa/translate.c
/* PA has a habit of taking the LSB of a field and using that as the sign,
   with the rest of the field becoming the least significant bits.  */
PA has a habit of taking the LSB of a field and using that as the sign,
with the rest of the field becoming the least significant bits.
PA has a habit of taking the LSB of a field and using that as the sign with the rest of the field becoming the least significant bits .
static target_sreg low_sextract(uint32_t val, int pos, int len)
{
    target_ureg x = -(target_ureg)extract32(val, pos, 1);
    x = (x << (len - 1)) | extract32(val, pos + 1, len - 1);
    return x;
}
static target_sreg low_sextract ( uint32_t val , int pos , int len ) { target_ureg x = - ( target_ureg ) extract32 ( val , pos , 1 ) ; x = ( x << ( len - 1 ) ) | extract32 ( val , pos + 1 , len - 1 ) ; return x ; }
PA has a habit of taking the LSB of a field and using that as the sign,
with the rest of the field becoming the least significant bits.
PA has a habit of taking the LSB of a field and using that as the sign with the rest of the field becoming the least significant bits .