|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 08/18] target/arm: support access to vector guest registers as globals |
Date: | Tue, 17 Jan 2017 12:07:40 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
On 01/17/2017 01:07 AM, Kirill Batuzov wrote:
+ for (i = 0; i < 16; i++) { + overlap_temps[i][0] = GET_TCGV_V128(cpu_Q[i]); + overlap_temps[i][1] = (TCGArg)-1; + sub_temps[i][0] = GET_TCGV_V64(cpu_D[i * 2]); + sub_temps[i][1] = GET_TCGV_V64(cpu_D[i * 2 + 1]); + sub_temps[i][2] = (TCGArg)-1; + tcg_temp_set_overlap_temps(GET_TCGV_V64(cpu_D[i * 2]), + overlap_temps[i]); + tcg_temp_set_overlap_temps(GET_TCGV_V64(cpu_D[i * 2 + 1]), + overlap_temps[i]); + tcg_temp_set_sub_temps(GET_TCGV_V128(cpu_Q[i]), sub_temps[i]); }
Should we simply detect this generically as the registers are declared? This seems tedious to do for each target.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |