diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-01-12 12:57:13 -0800 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-28 13:40:17 -0700 |
| commit | 1e6fec9dd90756b22331a3c4c6859c51ad3a2c3e (patch) | |
| tree | b9e66fae975abef1174ba8601e92021107cb2b8d /tcg/optimize.c | |
| parent | c1ad25de11ccf47a650c860f490864dcf7fe7675 (diff) | |
| download | focaccia-qemu-1e6fec9dd90756b22331a3c4c6859c51ad3a2c3e.tar.gz focaccia-qemu-1e6fec9dd90756b22331a3c4c6859c51ad3a2c3e.zip | |
tcg: Convert extrl_i64_i32 to TCGOutOpUnary
Drop the cast from TCGv_i64 to TCGv_i32 in tcg_gen_extrl_i64_i32 an emit extrl_i64_i32 unconditionally. Move that special case to tcg_gen_code when we find out if the output is live or dead. In this way even hosts that canonicalize truncations can make use of a store directly from the 64-bit host register. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions