FPGA開発日記

カテゴリ別記事インデックス https://msyksphinz.github.io/github_pages , English Version https://fpgadevdiary.hatenadiary.com/

2015-01-23から1日間の記事一覧

Conditional Moveがスーパスカラで難しい理由

MIPSにはMOVN/MOVZという条件付き格納命令が存在するが、これの実装は実はなかなか難しい。 if (rt != 0) rd <= rs else <nothing> これ、HW的に分解すると、 if (rt == 0) rd <= rs else rd <= rd とせざるを得なくなる。一度「レジスタにWBする」という名目でフリー</nothing>…