target: e2k: Add temps for FX/SIMD ops.

This commit is contained in:
Denis Drakhnia 2020-12-16 14:00:50 +02:00 committed by Denis Drakhnia
parent 8881486b62
commit 1a52b6054b
1 changed files with 17 additions and 0 deletions

View File

@ -550,6 +550,20 @@ typedef struct {
};
} E2KUserStackDesc;
typedef union {
uint32_t u32;
uint64_t u64;
floatx80 f80;
uint8_t u8v[16];
uint16_t u16v[8];
uint32_t u32v[4];
uint64_t u64v[2];
int8_t i8v[16];
int16_t i16v[8];
int32_t i32v[4];
int64_t i64v[2];
} E2KReg;
typedef struct CPUArchState {
/* register file */
uint8_t tags[E2K_REG_COUNT]; /* registers tags */
@ -558,6 +572,9 @@ typedef struct CPUArchState {
uint64_t pregs; /* predicate file */
target_ulong ip; /* instruction address */
/* temporaries for FX/SIMD ops */
E2KReg t0, t1, t2, t3;
/* procedure chain info */
uint64_t cr0_lo;
uint64_t cr0_hi;