]> Git Repo - qemu.git/commit
target-ppc: improve stxvw4x implementation
authorNikunj A Dadhania <[email protected]>
Wed, 28 Sep 2016 18:41:56 +0000 (00:11 +0530)
committerDavid Gibson <[email protected]>
Wed, 5 Oct 2016 00:05:28 +0000 (11:05 +1100)
commit0aec21d8fa1be9a2b57b0e018b36ba566508d21c
treead831188b1a360b7bff7ec4a04fcfb84d39672a3
parentf34001ec96ebc126aad49db4e3e01391b28ed264
target-ppc: improve stxvw4x implementation

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: Nikunj A Dadhania <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target-ppc/translate/vsx-impl.inc.c
This page took 0.026728 seconds and 4 git commands to generate.