公共子表达式消除(Common subexpression elimination,CSE)和代数简化 (algebraic simplification) 是两个强大的优化,它们允许编译器在表达式级别执行一些基本优化,以便开发人员可以专注研究算法和体系结构。
基于50个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
我发现增加的这个CSE特别有用,因为我见过编程人员在实际的代码中没有进行这种代数简化。
I find this latter CSE especially cool, as I've seen real programmers miss this sort of algebraic simplification in real code.
该编译器可以对 a+a 进行代数简化,即改为生成 2*a,也可以对 (c*b)*12 + c*b 进行代数简化,即改为生成 (c*b)*13。
The optimizer has been able to do algebraic simplification on a+a, instead generating 2*a, and on (c*b)*12 + c*b, instead generating (c*b)*13.
使用简化的牛顿计算方法和弱队列搜索来解决一系列的非线性代数方程。
Uses a reduced-Newton algorithm with a weak line search to solve a set of non-linear algebraic equations.
应用推荐