|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v3 2/8] target/s390x: Implement CONVERT UNICODE insns |
Date: | Fri, 14 Jul 2017 22:27:57 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/14/2017 10:25 PM, Aurelien Jarno wrote:
That said I still wonder if we can get generators like that: | static void in1_r1n(DisasContext *s, DisasFields *f, DisasOps *o) | { | int r1 = get_field(s->fields, r1); | o->in1 = tcg_const_i32(r1); | | #define SPEC_in1_r1n 0 and | static void in1_r1n_even(DisasContext *s, DisasFields *f, DisasOps *o) | { | int r1 = get_field(s->fields, r1); | o->in1 = tcg_const_i32(r1); | | #define SPEC_in1_r1n_even SPEC_r1_even
Well, not in to o->in1, obviously, since that's TCGv_i32 not TCGv_i64. I suppose we could add something of the sort though. r~
[Prev in Thread] | Current Thread | [Next in Thread] |