diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-11-27 07:44:51 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-12-26 06:57:37 +1100 |
commit | 69e3706d2b473815e382552e729d12590339e0ac (patch) | |
tree | 9c1dc684b6b9086073ddee4f5583b675c1757177 /tcg/tcg.h | |
parent | ba87719cd267e6f07b17f6cda08246bf483146d4 (diff) |
tcg: Add output_pref to TCGOp
Allocate storage for, but do not yet fill in, per-opcode
preferences for the output operands. Pass it in to the
register allocation routines for output operands.
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -619,6 +619,9 @@ typedef struct TCGOp { /* Arguments for the opcode. */ TCGArg args[MAX_OPC_PARAM]; + + /* Register preferences for the output(s). */ + TCGRegSet output_pref[2]; } TCGOp; #define TCGOP_CALLI(X) (X)->param1 |