Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / tcg / s390x / vx.h
blob02e7fd518a89113f5e30e3a090af54c20e5fc2e7
1 #ifndef QEMU_TESTS_S390X_VX_H
2 #define QEMU_TESTS_S390X_VX_H
4 typedef union S390Vector {
5 uint64_t d[2]; /* doubleword */
6 uint32_t w[4]; /* word */
7 uint16_t h[8]; /* halfword */
8 uint8_t b[16]; /* byte */
9 float f[4]; /* float32 */
10 double fd[2]; /* float64 */
11 __uint128_t v;
12 } S390Vector;
14 #define ES8 0
15 #define ES16 1
16 #define ES32 2
17 #define ES64 3
19 #endif /* QEMU_TESTS_S390X_VX_H */