summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
authorPaolo Bonzini2022-08-26 23:09:27 +0200
committerPaolo Bonzini2022-09-01 20:16:33 +0200
commit7f326902433052e97a6aa9539f45d5a8a1fdd172 (patch)
treea081a262fa8d94f8e8b13975f9ff3d2dd228d139 /slirp
parenttarget/i386: Add size suffix to vector FP helpers (diff)
downloadqemu-7f326902433052e97a6aa9539f45d5a8a1fdd172.tar.gz
qemu-7f326902433052e97a6aa9539f45d5a8a1fdd172.tar.xz
qemu-7f326902433052e97a6aa9539f45d5a8a1fdd172.zip
target/i386: do not cast gen_helper_* function pointers
Use a union to store the various possible kinds of function pointers, and access the correct one based on the flags. SSEOpHelper_table6 and SSEOpHelper_table7 right now only have one case, but this would change with AVX's 3- and 4-argument operations. Use unions there too, to keep the code more similar for the three tables. Extracted from a patch by Paul Brook <paul@nowt.org>. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions