dest_flen = 64
elif split[1].startswith('q'):
dest_flen = 128
- if "f128(" in f:
+ if "f128(" in f or \
+ insn.startswith('fsgn') and insn.endswith('q'):
src_flen = 128
dest_flen = 128
- elif "f64(" in f or insn == 'fsd':
+ elif "f64(" in f or insn == 'fsd' or \
+ insn.startswith('fsgn') and insn.endswith('d'):
src_flen = 64
dest_flen = 64
- elif "f32(" in f or insn == 'fsw':
+ elif "f32(" in f or insn == 'fsw' or \
+ insn.startswith('fsgn') and insn.endswith('s'):
src_flen = 32
dest_flen = 32
for pattern in patterns: