Skip to content

target-ppc: add floating-point AltiVec instructions

Nathan Froyd qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 32 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14Add f field to ppc_avr_ttarget-ppc/cpu.h+1 -01 reply
2/14Add various NaN-handling macrostarget-ppc/op_helper.c+21 -03 replies
3/14Rename spe_status to vec_statustarget-ppc/cpu.h target-ppc/op_helper.c+59 -571 reply
4/14Add calls to initialize VSCR on appropriate machinestarget-ppc/translate_init.c+22 -01 reply
5/14Make mtvscr use a helpertarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+15 -51 reply
6/14Add v{max,min}fp instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+23 -04 replies
7/14Add v{add,sub}fp instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+31 -04 replies
8/14Add vmaddfp and vnmsubfp instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+57 -03 replies
9/14Add vcmp{eq,ge,gt,b}fp{,.} instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+80 -03 replies
10/14Add vrfi{m,n,p,z} instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+26 -01 reply
11/14Add vcf{u,s}x instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+17 -01 reply
12/14Add vct{u,s}xs instructionstarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+29 -03 replies
13/14Add vrefp instructiontarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+29 -03 replies
14/14Add vrsqrtefp instructiontarget-ppc/helper.h target-ppc/op_helper.c target-ppc/translate.c+30 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/14] target-ppc: add floating-point AltiVec instructions

This patch series adds support for nearly all of the floating-point AltiVec instructions. It is broken up into separate patches for each instruction "family" (add/sub, min/max, comparison instructions, etc.), as the previous AltiVec integer instructions patch series was.

This patch series does not implement vexptefp and vlogefp, both of which require functionality not implemented in the soft-float emulation code. The instructions are straightforward, if tedious, to implement (find a decent powf and log2f implementation, translate into soft-float emulation calls).

-Nathan