WIP: resolve all branches in decode stage