Page MenuHomePhabricator

[RISCV] Add vector instructions for FPR64.
AbandonedPublic

Authored by HsiangKai on Jun 4 2020, 7:48 PM.

Details

Summary

For ".vf" instructions, there is a floating point scalar argument for the operations. If the scalar type of the argument is f64, we need to assign FPR64 for it.

In this patch, I add "CodeGenOnly" instructions for the FPR64 version of the instructions. For example, there are two instructions for vfadd.vf. One is VFADD_VF for FPR32 and the other is VFADD_VD for FPR64.

Diff Detail

Event Timeline

HsiangKai created this revision.Jun 4 2020, 7:48 PM
HsiangKai abandoned this revision.Wed, Jul 1, 9:24 AM
This comment was removed by HsiangKai.

FPR32 version V instructions should be enough for CodeGen.