FPGA開発日記

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

2022-07-27から1日間の記事一覧

分岐予測の評価キット Branch Prediction Championship Kit を試す (3. 静的予測を試してみる)

Branch Prediction Championship Simulatorの続きを試す。 静的予測を作ってみる 常にジャンプすると予測するPredictorを作ってみよう。 #include <stdlib.h> #include <string.h> #include <assert.h> #include <inttypes.h> #include <math.h> #include "utils.h" #include <vector> class PREDICTOR { public: PREDIC</vector></math.h></inttypes.h></assert.h></string.h></stdlib.h>…