fix some oss-fuzz (#1255)
* fix oss-fuzz 22107. * fix oss-fuzz 22112. * clean up build target.
This commit is contained in:
parent
f988a41369
commit
18a187b8f8
@ -49,7 +49,7 @@ uint32_t HELPER(neon_tbl)(CPUARMState *env, uint32_t ireg, uint32_t def,
|
||||
tmp = (table[index >> 3] >> ((index & 7) << 3)) & 0xff;
|
||||
val |= tmp << shift;
|
||||
} else {
|
||||
val |= def & (0xff << shift);
|
||||
val |= def & (0xffU << shift);
|
||||
}
|
||||
}
|
||||
return val;
|
||||
|
@ -363,7 +363,7 @@ static inline int satsw(int x)
|
||||
#define FCMPGTL(a, b) ((int32_t)(a) > (int32_t)(b) ? -1 : 0)
|
||||
#define FCMPEQ(a, b) ((a) == (b) ? -1 : 0)
|
||||
|
||||
#define FMULLW(a, b) ((a) * (b))
|
||||
#define FMULLW(a, b) ((int64_t)(a) * (b))
|
||||
#define FMULHRW(a, b) (((int16_t)(a) * (int16_t)(b) + 0x8000) >> 16)
|
||||
#define FMULHUW(a, b) ((a) * (b) >> 16)
|
||||
#define FMULHW(a, b) ((int16_t)(a) * (int16_t)(b) >> 16)
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user