tcg-target.c.inc (6a6d772e30d62e209587ef341df243e9789f5a9f) | tcg-target.c.inc (5e3d0c199f4edf4ecdf8100464da441c60ce36e3) |
---|---|
1/* 2 * Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 118 unchanged lines hidden (view full) --- 127 TCG_REG_O0, 128 TCG_REG_O1, 129 TCG_REG_O2, 130 TCG_REG_O3, 131 TCG_REG_O4, 132 TCG_REG_O5, 133}; 134 | 1/* 2 * Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 118 unchanged lines hidden (view full) --- 127 TCG_REG_O0, 128 TCG_REG_O1, 129 TCG_REG_O2, 130 TCG_REG_O3, 131 TCG_REG_O4, 132 TCG_REG_O5, 133}; 134 |
135static const int tcg_target_call_oarg_regs[] = { 136 TCG_REG_O0, 137 TCG_REG_O1, 138 TCG_REG_O2, 139 TCG_REG_O3, 140}; | 135static TCGReg tcg_target_call_oarg_reg(TCGCallReturnKind kind, int slot) 136{ 137 tcg_debug_assert(kind == TCG_CALL_RET_NORMAL); 138 tcg_debug_assert(slot >= 0 && slot <= 3); 139 return TCG_REG_O0 + slot; 140} |
141 142#define INSN_OP(x) ((x) << 30) 143#define INSN_OP2(x) ((x) << 22) 144#define INSN_OP3(x) ((x) << 19) 145#define INSN_OPF(x) ((x) << 5) 146#define INSN_RD(x) ((x) << 25) 147#define INSN_RS1(x) ((x) << 14) 148#define INSN_RS2(x) (x) --- 1755 unchanged lines hidden --- | 141 142#define INSN_OP(x) ((x) << 30) 143#define INSN_OP2(x) ((x) << 22) 144#define INSN_OP3(x) ((x) << 19) 145#define INSN_OPF(x) ((x) << 5) 146#define INSN_RD(x) ((x) << 25) 147#define INSN_RS1(x) ((x) << 14) 148#define INSN_RS2(x) (x) --- 1755 unchanged lines hidden --- |