1 #ifndef QEMU_TESTS_S390X_VX_H 2 #define QEMU_TESTS_S390X_VX_H 3 4 #include <stdint.h> 5 6 typedef union S390Vector { 7 uint64_t d[2]; /* doubleword */ 8 uint32_t w[4]; /* word */ 9 uint16_t h[8]; /* halfword */ 10 uint8_t b[16]; /* byte */ 11 float f[4]; /* float32 */ 12 double fd[2]; /* float64 */ 13 __uint128_t v; 14 } S390Vector; 15 16 #define ES8 0 17 #define ES16 1 18 #define ES32 2 19 #define ES64 3 20 21 #endif /* QEMU_TESTS_S390X_VX_H */ 22