
256bit Compiler with Intel AVX 電腦版
MacBook Air User
用GameLoop模拟器在電腦上玩256bit Compiler with Intel AVX
256bit Compiler with Intel AVX 電腦版
來自發行商 MacBook Air User 的 256bit Compiler with Intel AVX 能夠在安卓系統上運行。
現在,您可以在電腦上使用 GameLoop 模擬器流暢地玩 256bit Compiler with Intel AVX。
在 GameLoop 遊戲庫或搜索結果中下載。 不需要再暢玩遊戲時盯著電池電量或被令人懊惱的來電打斷。
只需在電腦大屏幕上免費下載暢玩256bit Compiler with Intel AVX 電腦版!
256bit Compiler with Intel AVX 簡介
On the screen of the upper half of the app,
a:% ymm0
b:% ymm1
c:% ymm15
c = (a + b) * (a-b) +1
And press the COMPILE! Button at the bottom.
vaddps% ymm1,% ymm0,% ymm2
vsubps% ymm1,% ymm0,% ymm3
vmulps% ymm3,% ymm2,% ymm2
movd $ 0x3F800000,% eax
movd% eax,% xmm3
vpshufd $ 0,% xmm3,% xmm3
vinsertf128 $ 1,% xmm3,% ymm3,% ymm3
vaddps% ymm3,% ymm2,% ymm15
The assembler code like is output on the lower screen. Because of AT & T notation, the operand is the opposite of Intel's official reference.
In addition, when a variable that is not defined appears in the formula, a free register is allocated without permission. So you can compile without a declaration like a:% ymm0.
Variable name: Define a variable as% register name. Although it can be specified in the range of% ymm0-% ymm15, two free registers are used internally to store temporary calculation results, so no more than 14 variables are required.
Error checking will be supported in the future.
... About AVX instructions
∙ Eight 32-bit single-precision floating point numbers can be calculated with one instruction using 16 256-bit YMM registers. It corresponds from the second generation Corei. The previous SSE instruction was a 128bit XMM register. The lower half of the YMM register can be used as an XMM register.
The big change in AVX is not only the register size but also three operands. For example, in the formula of c = a + b, if it is an AVX instruction, it can be written as vaddps a, b, c, but if it is an SSE instruction, it will be transformed to temp = a, temp = temp + b, c = temp, and movaps a , temp; addps b, temp; movaps temp, c;
... Description of used instructions
vaddps, vsubps, vmulps, vdivps ... These are vaddps a, b, c for c = a + b.
movd $ 0x3F800000,% eax ... 3F800000 is a bit pattern of floating point number 1.0f displayed in hexadecimal. % eax is a 32-bit general-purpose register.
movd% eax,% xmm3 ・ ・ ・ The floating point number is copied to the lower 32 bits of 128bit register xmm3.
vpshufd $ 0,% xmm3,% xmm3 ... The lower 32 bits are copied to the remaining 96 bits, and 1.0f is stored in 4 xmm3.
vinsertf128 $ 1,% xmm3,% ymm3,% ymm3 ... The xmm3 was copied to the upper 128 bits of 256bit register ymm3, and 8 1.0f were prepared in 256bit as a result.
... Compiling
Lexical analysis, syntax analysis, code generation, and optimization are all performed in one pass. The generated code is not debugged, so just look at the basic AVX instructions and enjoy.
標籤
教育訊息
開發商
MacBook Air User
最新版本
1.4
更新時間
2023-09-30
類別
教育
同時可用
Google Play
更多
如何在電腦上用 GameLoop 玩 256bit Compiler with Intel AVX
1. 從官網下載GameLoop,然後運行exe文件安裝GameLoop
2. 打開GameLoop,搜索“256bit Compiler with Intel AVX”,在搜索結果中找到256bit Compiler with Intel AVX,點擊“安裝”
3. 享受在 GameLoop 上玩 256bit Compiler with Intel AVX 的樂趣
Minimum requirements
OS
Windows 8.1 64-bit or Windows 10 64-bit
GPU
GTX 1050
CPU
i3-8300
Memory
8GB RAM
Storage
1GB available space
Recommended requirements
OS
Windows 8.1 64-bit or Windows 10 64-bit
GPU
GTX 1050
CPU
i3-9320
Memory
16GB RAM
Storage
1GB available space