Hi Max, thanks for all the regression testing!

On 2025/11/01 13:39, Max Filippov wrote:
On Thu, Oct 30, 2025 at 11:24 PM Takayuki 'January June' Suwa
<[email protected]> wrote:

** snip **
      ;; after
      test:
         entry   sp, 32
         movi.n  a8, 1
         slli    a8, a8, 31
         addi.n  a2, a2, a8
         retw.n

** snip **

   (define_insn "negsf2"
-  [(set (match_operand:SF 0 "register_operand" "=f")
-       (neg:SF (match_operand:SF 1 "register_operand" "f")))]
+  [(set (match_operand:SF 0 "register_operand")
+        (neg:SF (match_operand:SF 1 "register_operand")))
+   (clobber (match_scratch:SI 2))]
     "TARGET_HARD_FLOAT"
-  "neg.s\t%0, %1"
-  [(set_attr "type"    "farith")
-   (set_attr "mode"    "SF")
-   (set_attr "length"  "3")])
+  {@ [cons: =0, 1, =2; attrs: type, length]
+     [D, D, &a; arith , 7] movi.n\t%2, 1\;slli\t%2, %2, 31\;addi.n\t%0, %1, %2

Changed `addi.n` to `add.n`, which was meant here.
Regtested for target=xtensa-linux-uclibc, no new regressions.
Committed the whole series to master.

Oh, what a ...
Thank you for noticing and correcting my silly mistake X(

-----
[email protected]

Reply via email to