ini_cache.h

来自「TigerSharc TS201 32-bit floating point F」· C头文件 代码 · 共 19 行

H
19
字号
//this file contains a macro that preloads the cache for the floating point fft benchmark

#define preload_cache     \
.extern _twiddles;         \
  LC0 = N/4;;             \
  nop;;/*anomaly*/          \
  j0 = j31 + _input;;      \
ini_cache:                \
  xr3:0 = q[j0+=0];;     \
  if NLC0E, jump ini_cache; q[j0+=4] = xr3:0;;\
  LC0 = MAX_FFT_SIZE/4;;  \
  nop;;/*anomaly*/          \
  j0 = j31 + _twiddles;;   \
ini_cache2:               \
  xr3:0 = q[j0+=0];;      \
  if NLC0E, jump ini_cache2; q[j0+=4] = xr3:0;


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?