Revision 51e3930f

b/target-arm/neon_helper.c
639 639
uint64_t HELPER(neon_rshl_u64)(uint64_t val, uint64_t shiftop)
640 640
{
641 641
    int8_t shift = (uint8_t)shiftop;
642
    if (shift >= 64 || shift < 64) {
642
    if (shift >= 64 || shift < -64) {
643 643
        val = 0;
644 644
    } else if (shift == -64) {
645 645
        /* Rounding a 1-bit result just preserves that bit.  */

Also available in: Unified diff