On Sun, Apr 09, 2023 at 11:43:06AM +0100, Jiaxun Yang wrote: > parse_r helper is used to parse register number from oprand, > it only handles oprand which use number to refer register before. > > However compiler may use $gp and $sp to reference register 29 and > 30. Handle this situation by adding relevant match name. are you sure the compiler is doing that ? Which compiler is this ? To me this feels more like missing #defines from asm/regdef.h for some inline assembly stuff... Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]