adding fast DPI implemntation of imul and idiv

This commit is contained in:
Blaise Tine
2021-06-22 09:02:41 -07:00
parent 65a3704479
commit c331da5ff7
5 changed files with 136 additions and 6 deletions

View File

@@ -75,6 +75,10 @@ endif
VL_FLAGS += -DNOPAE
CFLAGS += -DNOPAE
# ALU backend
VL_FLAGS += -DIMUL_DPI
VL_FLAGS += -DIDIV_DPI
# FPU backend
FPU_CORE ?= FPU_DPI
VL_FLAGS += -D$(FPU_CORE)

View File

@@ -64,6 +64,10 @@ ifdef PERF
CFLAGS += -DPERF_ENABLE
endif
# ALU backend
VL_FLAGS += -DIMUL_DPI
VL_FLAGS += -DIDIV_DPI
# FPU backend
FPU_CORE ?= FPU_DPI
VL_FLAGS += -D$(FPU_CORE)