static void x86_cpu_register_feature_bit_props(X86CPU *cpu,

                                               FeatureWord w,

                                               int bitnr)

{

    Object *obj = OBJECT(cpu);

    int i;

    char **names;

    FeatureWordInfo *fi = &feature_word_info[w];



    if (!fi->feat_names[bitnr]) {

        return;

    }



    names = g_strsplit(fi->feat_names[bitnr], "|", 0);



    feat2prop(names[0]);

    x86_cpu_register_bit_prop(cpu, names[0], &cpu->env.features[w], bitnr);



    for (i = 1; names[i]; i++) {

        feat2prop(names[i]);

        object_property_add_alias(obj, names[i], obj, names[0],

                                  &error_abort);

    }



    g_strfreev(names);

}

static void x86_cpu_register_feature_bit_props(X86CPU *cpu,

                                               FeatureWord w,

                                               int bitnr)

{

    Object *obj = OBJECT(cpu);

    int i;

    char **names;

    FeatureWordInfo *fi = &feature_word_info[w];



    if (!fi->feat_names[bitnr]) {

        return;

    }



    names = g_strsplit(fi->feat_names[bitnr], "|", 0);



    feat2prop(names[0]);

    x86_cpu_register_bit_prop(cpu, names[0], &cpu->env.features[w], bitnr);



    for (i = 1; names[i]; i++) {

        feat2prop(names[i]);

        object_property_add_alias(obj, names[i], obj, names[0],

                                  &error_abort);

    }



    g_strfreev(names);

}

static void FUNC_0(X86CPU *VAR_0,

                                               FeatureWord VAR_1,

                                               int VAR_2)

{

    Object *obj = OBJECT(VAR_0);

    int VAR_3;

    char **VAR_4;

    FeatureWordInfo *fi = &feature_word_info[VAR_1];



    if (!fi->feat_names[VAR_2]) {

        return;

    }



    VAR_4 = g_strsplit(fi->feat_names[VAR_2], "|", 0);



    feat2prop(VAR_4[0]);

    x86_cpu_register_bit_prop(VAR_0, VAR_4[0], &VAR_0->env.features[VAR_1], VAR_2);



    for (VAR_3 = 1; VAR_4[VAR_3]; VAR_3++) {

        feat2prop(VAR_4[VAR_3]);

        object_property_add_alias(obj, VAR_4[VAR_3], obj, VAR_4[0],

                                  &error_abort);

    }



    g_strfreev(VAR_4);

}

static void FUNC_0(X86CPU *VAR_0,
FeatureWord VAR_1,
int VAR_2)
{ Object *obj = OBJECT(VAR_0); int VAR_3; char **VAR_4; FeatureWordInfo *fi = &feature_word_info[VAR_1]; if (!fi->feat_names[VAR_2]) { return; } VAR_4 = g_strsplit(fi->feat_names[VAR_2], "|", 0); feat2prop(VAR_4[0]); x86_cpu_register_bit_prop(VAR_0, VAR_4[0], &VAR_0->env.features[VAR_1], VAR_2); for (VAR_3 = 1; VAR_4[VAR_3]; VAR_3++) { feat2prop(VAR_4[VAR_3]); object_property_add_alias(obj, VAR_4[VAR_3], obj, VAR_4[0],
&error_abort); } g_strfreev(VAR_4); }