全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Compiler intrinsic, CPU feature dispatch?

又称: compiler intrinsic · CPU feature dispatch

Definition 14.3 Low-Latency Software · 第 14 章 — Vector Instructions and Data-Parallel Code

A compiler intrinsic is a function the compiler knows and translates into one specific instruction (_mm256_cmpeq_epi8 into VPCMPEQB), letting a program use an instruction without writing assembly while the compiler still allocates registers and schedules around it. CPU feature dispatch selects at run time, from the features the processor reports, which of several compiled versions of a function to call.

在原文中阅读 →