target-i386: xsave: Simplify CPUID[0xD,0].{EAX,EDX} calculation
commit8057c621b1b17cbcb35fe67d1a09ada9055873a9
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 22 Sep 2016 17:58:32 +0000 (22 14:58 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 27 Sep 2016 19:17:17 +0000 (27 16:17 -0300)
tree30d27b49bb6168236c5b90faa12457f13bbce48e
parent4928cd6de6b4211a79f98c8dc39115be1e815c2b
target-i386: xsave: Simplify CPUID[0xD,0].{EAX,EDX} calculation

Instead of assigning individual bits in a loop, just copy the
values from ena_mask.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c