首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > asmpure是库编写的C编译汇编代码在运行时

asmpure是库编写的C编译汇编代码在运行时

  • 资源大小:102.88 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: assembly Compiler JIT

资 源 简 介

Introduction Asmpure is a reimplementation and an enhancement of SoftWire in C for compiling assembly code. It can be used in projects to generate x86 machine code at run-time as an alternative to self-modifying code. Scripting languages might also benefit by using Asmpure as a JIT-compiler back-end. It also allows to eliminate jumps for variables which are temporarily constant during run-time, like for efficient graphics processing by constructing an optimised pipeline. Because of its possibility for "instruction rewiring" by run-time conditional compilation, I named it "Asmpure". It is targeted only at developers with a good knowledge of C++ and x86 assembly. Example: CrossProduct ``` /* void CrossProduct(float *V0, float *V1, float *V2) { V2[0] = V0[1] * V1[2] - V0[2] * V1[1]; V2[1] = V0[2] * V1[0] - V0[0] * V1[2]; V2[2] = V0[0] * V1[1] - V0[1] * V1[0]; }*/ const char *CrossPr

文 件 列 表

asmpure-1.0.4
casmpure.h
cencoding.c
cencoding.h
cinstruct.c
cinstruct.h
cinstset.c
cinstset.h
ckeywords.c
ckeywords.h
cloader.c
cloader.h
cparser.c
cparser.h
cscanner.c
cscanner.h
csynthesis.c
csynthesis.h
ctoken.c
ctoken.h
test1.c
test1.exe
testblit.asm
testblit.c
testblit.exe
VERSION.ini
casmpure.c

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.162491s