diff --git a/kernels/relu/16x16xf64/snitch_stream.xdsl.mlir b/kernels/relu/16x16xf64/snitch_stream.xdsl.mlir index 1b088f5c..0aff2ef2 100644 --- a/kernels/relu/16x16xf64/snitch_stream.xdsl.mlir +++ b/kernels/relu/16x16xf64/snitch_stream.xdsl.mlir @@ -6,7 +6,7 @@ riscv.assembly_section ".text" { %Y_moved = riscv.mv %Y : (!riscv.reg) -> !riscv.reg<> %zero_int = riscv.get_register : () -> !riscv.reg - %zero_float = riscv.fcvt.d.w %zero_int : (!riscv.reg) -> !riscv.freg + %zero_float = riscv.fcvt.d.w %zero_int : (!riscv.reg) -> !riscv.freg %stride_pattern = "snitch_stream.stride_pattern"() {"ub" = [#int<16>, #int<16>], "strides" = [#int<128>, #int<8>], "dm" = #int<31>} : () -> !snitch_stream.stride_pattern_type %X_stream = "snitch_stream.strided_read"(%X_moved, %stride_pattern) {"dm" = #int<0>, "rank" = #int<2>} : (!riscv.reg<>, !snitch_stream.stride_pattern_type) -> !stream.readable> @@ -14,7 +14,7 @@ riscv.assembly_section ".text" { %count = riscv.li 256 : () -> !riscv.reg<> "snitch_stream.generic"(%count, %X_stream, %Y_stream) <{"operandSegmentSizes" = array}> ({ ^0(%x : !riscv.freg): - %res = riscv.fmax.d %x, %zero_float : (!riscv.freg, !riscv.freg) -> !riscv.freg + %res = riscv.fmax.d %x, %zero_float : (!riscv.freg, !riscv.freg) -> !riscv.freg snitch_stream.yield %res : !riscv.freg }) : (!riscv.reg<>, !stream.readable>, !stream.writable>) -> () riscv_func.return