tcg-target.c.inc (6a6d772e30d62e209587ef341df243e9789f5a9f) tcg-target.c.inc (5e3d0c199f4edf4ecdf8100464da441c60ce36e3)
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2009 Ulrich Hecht <uli@suse.de>
5 * Copyright (c) 2009 Alexander Graf <agraf@suse.de>
6 * Copyright (c) 2010 Richard Henderson <rth@twiddle.net>
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 388 unchanged lines hidden (view full) ---

397static const int tcg_target_call_iarg_regs[] = {
398 TCG_REG_R2,
399 TCG_REG_R3,
400 TCG_REG_R4,
401 TCG_REG_R5,
402 TCG_REG_R6,
403};
404
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2009 Ulrich Hecht <uli@suse.de>
5 * Copyright (c) 2009 Alexander Graf <agraf@suse.de>
6 * Copyright (c) 2010 Richard Henderson <rth@twiddle.net>
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 388 unchanged lines hidden (view full) ---

397static const int tcg_target_call_iarg_regs[] = {
398 TCG_REG_R2,
399 TCG_REG_R3,
400 TCG_REG_R4,
401 TCG_REG_R5,
402 TCG_REG_R6,
403};
404
405static const int tcg_target_call_oarg_regs[] = {
406 TCG_REG_R2,
407};
405static TCGReg tcg_target_call_oarg_reg(TCGCallReturnKind kind, int slot)
406{
407 tcg_debug_assert(kind == TCG_CALL_RET_NORMAL);
408 tcg_debug_assert(slot == 0);
409 return TCG_REG_R2;
410}
408
409#define S390_CC_EQ 8
410#define S390_CC_LT 4
411#define S390_CC_GT 2
412#define S390_CC_OV 1
413#define S390_CC_NE (S390_CC_LT | S390_CC_GT)
414#define S390_CC_LE (S390_CC_LT | S390_CC_EQ)
415#define S390_CC_GE (S390_CC_GT | S390_CC_EQ)

--- 3090 unchanged lines hidden ---
411
412#define S390_CC_EQ 8
413#define S390_CC_LT 4
414#define S390_CC_GT 2
415#define S390_CC_OV 1
416#define S390_CC_NE (S390_CC_LT | S390_CC_GT)
417#define S390_CC_LE (S390_CC_LT | S390_CC_EQ)
418#define S390_CC_GE (S390_CC_GT | S390_CC_EQ)

--- 3090 unchanged lines hidden ---