x86: Add ymm_reg struct

Needed to declare 32-byte long constants

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
James Almer 2016-01-24 02:10:43 -03:00 committed by Luca Barbato
parent eafb05fcf3
commit b624f0660b
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include "config.h"
typedef struct xmm_reg { uint64_t a, b; } xmm_reg;
typedef struct ymm_reg { uint64_t a, b, c, d; } ymm_reg;
#if ARCH_X86_64
# define OPSIZE "q"