• Carlos Eduardo Seo's avatar
    cmd/internal/obj/ppc64: Fix RLDIMI · c12cd31a
    Carlos Eduardo Seo authored
    Fix the encoding of the SH field for rldimi.
    
    The SH field of rldimi is 6-bit wide and it is not contiguous in the instruction.
    Bits 0-4 are placed in bit fields 16-20 in the instruction, while bit 5 is
    placed in bit field 30. The current implementation does not consider this and,
    therefore, any SH field between 32 and 63 are encoded wrongly in the instruciton.
    
    Change-Id: I4d25a0a70f4219569be0e18160dea5505bd7fff0
    Reviewed-on: https://go-review.googlesource.com/37350
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarLynn Boger <laboger@linux.vnet.ibm.com>
    c12cd31a
asm9.go 124 KB