Spike, a RISC-V ISA Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
320 B

#ifndef _DECODE_HWACHA_UT_HALF_H
#define _DECODE_HWACHA_UT_HALF_H
#include "decode_hwacha_ut.h"
#include "cvt16.h"
#define HFRS1 cvt_hs(FRS1)
#define HFRS2 cvt_hs(FRS2)
#define HFRS3 cvt_hs(FRS3)
#define WRITE_HFRD(value) write_frd(h, insn, UTIDX, cvt_sh(value, RM))
#define sext16(x) ((sreg_t)(int16_t)(x))
#endif