Fixed gentb_constant handling in autotest backend
Added support for local regs in named blocks
Added sincos test case