xref: /openbmc/qemu/tests/tcg/s390x/vx.h (revision a6caeee8)
1 #ifndef QEMU_TESTS_S390X_VX_H
2 #define QEMU_TESTS_S390X_VX_H
3 
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;
13 
14 #define ES8  0
15 #define ES16 1
16 #define ES32 2
17 #define ES64 3
18 
19 #endif /* QEMU_TESTS_S390X_VX_H */
20