From 1b0813e87b3031e86842c574f9e6828867cbaaa9 Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Sun, 13 Oct 2024 22:49:53 -0400 Subject: [PATCH] Fix typo in floating point opcodes --- llvm/lib/Target/V810/V810InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/V810/V810InstrInfo.td b/llvm/lib/Target/V810/V810InstrInfo.td index 7273a56024f259..fec9f3819e3033 100644 --- a/llvm/lib/Target/V810/V810InstrInfo.td +++ b/llvm/lib/Target/V810/V810InstrInfo.td @@ -481,7 +481,7 @@ let Defs = [SR5], V810_ZFlag = 1, V810_SFlag = 1 in { let Constraints = "$r2 = $r2_" in def DIVF_S : FormatVII<0b000111, (outs GenRegs:$r2), (ins GenRegs:$r2_, GenRegs:$r1), - "subf.s $r1, $r2", + "divf.s $r1, $r2", [(set f32:$r2, (fdiv GenRegs:$r2_, GenRegs:$r1))], [WriteFPU] >;