Instead of replacing "F16", "F32", "F64" anywhere in the string.
Only replace them when proceeded by a "_", "_V", or "_W".
This allows F16/F32/F64 to appear in the instruction name.
This is needed for some vendor instructions in our downstream. We
may be upstreaming them in the future.
class PseudoToVInst<string PseudoInst> {
defvar AffixSubsts = [["Pseudo", ""],
- ["F64", "F"],
- ["F32", "F"],
- ["F16", "F"],
+ ["_F64", "_F"],
+ ["_F32", "_F"],
+ ["_F16", "_F"],
+ ["_VF64", "_VF"],
+ ["_VF32", "_VF"],
+ ["_VF16", "_VF"],
+ ["_WF64", "_WF"],
+ ["_WF32", "_WF"],
+ ["_WF16", "_WF"],
["_TU", ""],
["_TIED", ""],
["_MASK", ""],