• N
    target-ppc: improve stxvw4x implementation · 0aec21d8
    Nikunj A Dadhania 提交于
    Manipulate data and store 8bytes instead of 4bytes.
    
    Vector (32-bit elements):
    +----------+----------+----------+----------+
    | 00112233 | 44556677 | 8899AABB | CCDDEEFF |
    +----------+----------+----------+----------+
    
    Store results in following:
    
    Big-Endian Storage
    +-------------+-------------+-------------+-------------+
    | 00 11 22 33 | 44 55 66 77 | 88 99 AA BB | CC DD EE FF |
    +-------------+-------------+-------------+-------------+
    
    Little-Endian Storage
    +-------------+-------------+-------------+-------------+
    | 33 22 11 00 | 77 66 55 44 | BB AA 99 88 | FF EE DD CC |
    +-------------+-------------+-------------+-------------+
    Signed-off-by: NNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
    Reviewed-by: NRichard Henderson <rth@twiddle.net>
    Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
    0aec21d8
vsx-impl.inc.c 32.7 KB