When i use riscv-gcc to compile a simple assembly program, it tells me it can't recognize opcode b 1b, here is the program:
...
sll x28,x28,1;
1: b 1b
b 1b is the last instruction, a loop.
The program is from riscv-sodor project. Why does the compilation fail?