diff options
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index c55721114e..e968769e8e 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -162,6 +162,11 @@ typedef struct CPUS390XState { } CPUS390XState; +static inline CPU_DoubleU *get_freg(CPUS390XState *cs, int nr) +{ + return &cs->fregs[nr]; +} + #include "cpu-qom.h" #include <sysemu/kvm.h> |