Gang Of Coders
Home
About Us
Contact Us
All X86 Solutions on Gang of Coders
Total of 121 X86 Solutions
Why is this SSE code 6 times slower without VZEROUPPER on Skylake?
Performance
X86
Intel
Sse
Avx
GCC's assembly output of an empty program on x86, win32
C
Gcc
X86
Gnu Assembler
Tdm Mingw
How do you determine 32 or 64 bit architecture of Windows using Java?
Java
Windows
X86
64 Bit
How to write self-modifying code in x86 assembly
Assembly
X86
Jit
Vm Implementation
Self Modifying
What is stack frame in assembly?
Assembly
X86
How to compile Tensorflow with SSE4.2 and AVX instructions?
Tensorflow
X86
Compiler Optimization
Simd
Compiler Options
How are cache memories shared in multicore Intel CPUs?
Performance
X86
Multiprocessing
Intel
Cpu Cache
Divide and Get Remainder at the same time?
X86
Modulo
Divide
Micro fusion and addressing modes
Assembly
X86
Intel
Cpu Architecture
Iaca
Fastest way to calculate a 128-bit integer modulo a 64-bit integer
C
Algorithm
X86
Modulo
Assembly
What does ORG Assembly Instruction do?
Assembly
X86
Nasm
Directive
What does the "rep stos" x86 assembly instruction sequence do?
Assembly
X86
Assembly Language - How to do Modulo?
Assembly
X86
Modulo
Integer Division
Does it make any sense to use the LFENCE instruction on x86/x86_64 processors?
Assembly
X86
X86 64
Atomic
Memory Barriers
What is the correct way to obtain (-1)^n?
C++
Algorithm
X86
Cmath
Calling 32bit Code from 64bit Process
.Net
Migration
X86
64 Bit
Fortran
What does MOV EAX, DWORD PTR DS:[ESI] mean and what does it do?
Assembly
X86
"enter" vs "push ebp; mov ebp, esp; sub esp, imm" and "leave" vs "mov esp, ebp; pop ebp"
Assembly
X86
Stack
Micro Optimization
Stack Frame
Why is linear read-shuffled write not faster than shuffled read-linear write?
Python
Performance
Numpy
X86
Cpu Cache
Weird MSC 8.0 error: "The value of ESP was not properly saved across a function call..."
C++
Visual C++
X86
Stack
Calling Convention
Why is gcc allowed to speculatively load from a struct?
C
Gcc
Assembly
X86
Compiler Optimization
Stack allocation, padding, and alignment
C
Gcc
Assembly
X86
Stack
How can I do a CPU cache flush in x86 Windows?
C
Windows
X86
Cpu
Cpu Cache
NASM Vs GAS (Practical differences)
Assembly
X86
Nasm
Gnu Assembler
Att
Do current x86 architectures support non-temporal loads (from "normal" memory)?
C++
Caching
X86
Cpu Cache
Prefetch
Getting started with Intel x86 SSE SIMD instructions
C
Gcc
X86
Sse
Simd
Is x86 RISC or CISC?
X86
Cpu
Cpu Architecture
What does `rep ret` mean?
Assembly
X86
Micro Optimization
Branch Prediction
How to run a program without an operating system?
Assembly
X86
Operating System
Bootloader
Osdev
What does multicore assembly language look like?
Assembly
X86
Cpu
Multicore
Smp
What is a retpoline and how does it work?
Security
Assembly
X86
Cpu Architecture
Spectre
What is exactly the base pointer and stack pointer? To what do they point?
C
Assembly
X86
Stack Frame
Stack Pointer
How does the ARM architecture differ from x86?
X86
Arm
What Every Programmer Should Know About Memory?
Optimization
Memory
X86
Cpu Architecture
Cpu Cache
Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly?
C++
Performance
Assembly
Optimization
X86
What is the difference between Trap and Interrupt?
X86
Operating System
Kernel
Interrupt
Cpu Architecture
The point of test %eax %eax
Assembly
X86
Att
Why does GCC generate such radically different assembly for nearly the same C code?
C
Gcc
Assembly
X86
Compiler Optimization
What happens when a computer program runs?
C++
Memory
Operating System
X86
Computer Architecture
What's the purpose of the LEA instruction?
Assembly
X86
X86 64
X86 16
An expensive jump with GCC 5.4.0
C++
Gcc
X86
Conditional Statements
Branch Prediction
How do you use gcc to generate assembly code in Intel syntax?
Assembly
Gcc
X86
Intel Syntax
What is the difference between MOV and LEA?
Assembly
X86
Instruction Set
What is the best way to set a register to zero in x86 assembly: xor, mov or and?
Performance
Assembly
Optimization
X86
Micro Optimization
Header files for x86 SIMD intrinsics
X86
Header Files
Sse
Simd
Intrinsics
"No such file or directory" error when executing a binary
Linux
X86
Elf
Dynamic Linking
Execve
Why do x86-64 instructions on 32-bit registers zero the upper part of the full 64-bit register?
Assembly
X86
X86 64
Cpu Registers
Zero Extension
What is the meaning of "non temporal" memory accesses in x86
X86
Sse
Assembly
How does this milw0rm heap spraying exploit work?
Javascript
X86
Exploit
Assembly
What is the purpose of XORing a register with itself?
Assembly
X86
What does `dword ptr` mean?
Assembly
X86
Dword
Pointers
Purpose of ESI & EDI registers?
Assembly
X86
Why does integer overflow on x86 with GCC cause an infinite loop?
C++
C
Gcc
X86
Undefined Behavior
What is the function of the push / pop instructions used on registers in x86 assembly?
Assembly
X86
Terminology
Stack Memory
Stack Pointer
`testl` eax against eax?
Assembly
X86
Instructions
CPU Privilege Rings: Why rings 1 and 2 aren't used?
X86
Cpu
Privileges
What is the "FS"/"GS" register intended for?
Assembly
X86
Cpu Architecture
Cpu Registers
Memory Segmentation
Why are elementwise additions much faster in separate loops than in a combined loop?
C++
Performance
X86
Vectorization
Compiler Optimization
Floating point vs integer calculations on modern hardware
C++
X86
Floating Point
X86 64
How to install ia32-libs in Ubuntu 14.04 LTS (Trusty Tahr)
Ubuntu
X86
System.BadImageFormatException: Could not load file or assembly (from installutil.exe)
.Net
Windows Services
X86
64 Bit
X86 64
Why is x86 ugly? Why is it considered inferior when compared to others?
Assembly
X86
Mips
X86 64
Cpu Architecture
Why is SSE scalar sqrt(x) slower than rsqrt(x) * x?
Performance
Assembly
Floating Point
X86
Sse
What does "int 0x80" mean in assembly code?
Assembly
X86
How to write hello world in assembler under Windows?
Winapi
Assembly
X86
Nasm
How does x86 paging work?
X86
Paging
Virtual Memory
Difference between JE/JNE and JZ/JNZ
Assembly
X86
What is the purpose of the EBP frame pointer register?
Performance
Assembly
X86
Using gdb to single-step assembly code outside specified executable causes error "cannot find bounds of current function"
Linux
Assembly
Gdb
X86
Linux Kernel
Why does Intel hide internal RISC core in their processors?
Assembly
X86
Intel
Cpu Architecture
How do I disassemble raw 16-bit x86 machine code?
Linux
Assembly
X86
X86 16
Mbr
What does "rep; nop;" mean in x86 assembly? Is it the same as the "pause" instruction?
Assembly
X86
X86 64
Cpu
Machine Code
Limitations of Intel Assembly Syntax Compared to AT&T
Linux
Assembly
X86
Att
Intel Syntax
memory bandwidth for many channels x86 systems
C
X86
Openmp
Avx512
Memory Bandwidth
What are IN & OUT instructions in x86 used for?
Assembly
X86
Linux Kernel
Enhanced REP MOVSB for memcpy
Performance
Assembly
X86
Cpu Architecture
Memcpy
Double cast to unsigned int on Win32 is truncating to 2,147,483,648
C
Visual C++
Casting
X86
Floating Point
Why is the loop instruction slow? Couldn't Intel have implemented it efficiently?
Performance
Assembly
X86
Intel
Cpu Architecture
Which variable size to use (db, dw, dd) with x86 assembly?
Variables
Assembly
X86
Where is the lock for a std::atomic?
C++
C++11
X86
Atomic
Stdatomic
What does the "lock" instruction mean in x86 assembly?
C++
Qt
Assembly
X86
Is it possible to tell the branch predictor how likely it is to follow the branch?
C
Gcc
X86
Compiler Optimization
Micro Optimization
Argument order to std::min changes compiler output for floating-point
Android
C++
Assembly
X86
Floating Point
Is using double faster than float?
C++
Performance
X86
Intel
Osx Snow-Leopard
How to generate assembly code with clang in Intel syntax?
C++
Assembly
X86
Clang
Intel
Why is Windows 32-bit called Windows x86 and not Windows x32?
Windows
X86
Operating System
32bit 64bit
32 Bit
How to write a disassembler?
X86
Disassembly
Can I use Intel syntax of x86 assembly with GCC?
C
Gcc
Assembly
X86
Inline Assembly
What is better "int 0x80" or "syscall" in 32-bit code on Linux?
Linux
Assembly
X86
System Calls
32 Bit
Why is std::fill(0) slower than std::fill(1)?
C++
Performance
X86
Compiler Optimization
Memset
What do the brackets mean in NASM syntax for x86 asm?
Assembly
X86
Nasm
To learn assembly - should I start with 32 bit or 64 bit?
Assembly
X86
X86 64
Low Level
Is this "should not happen" crash an AMD Fusion CPU bug?
Assembly
Crash
X86
Windbg
Amd Processor
What is the purpose of the "PAUSE" instruction in x86?
Parallel Processing
X86
X86 64
Intel
Critical Section
Why is there not a register that contains the higher bytes of EAX?
Assembly
X86
Cpu Registers
Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs
C++
Performance
Assembly
X86
Compiler Optimization
When are x86 LFENCE, SFENCE and MFENCE instructions required?
Multithreading
Assembly
X86
Cpu
Memory Fences
Do x86 instructions require their own encoding as well as all of their arguments to be present in memory at the same time?
Assembly
X86
Paging
Virtualization
Kvm
x86 Assembly on a Mac
Xcode
Macos
X86
Assembly
How can I determine if a .NET assembly was built for x86 or x64?
.Net
Assemblies
X86
64 Bit
X86 64
Fast method to copy memory with translation - ARGB to BGR
C
X86
Rgb
Sse
Micro Optimization
What are the names of the new X86_64 processors registers?
Assembly
X86
X86 64
Cpu Registers
How to disassemble, modify and then reassemble a Linux executable?
Linux
X86
Disassembly
Objdump
Why does leave do "mov esp,ebp" in x86 assembly?
Assembly
X86
How many CPU cycles are needed for each assembly instruction?
Performance
Assembly
X86
Cpu Architecture
Cpu Cycles
How Do You Make An Assembler?
X86
Assembly
Efficient integer compare function
C
Assembly
X86
Inline Assembly
Deoptimizing a program for the pipeline in Intel Sandybridge-family CPUs
C++
Optimization
X86
Intel
Cpu Architecture
What does it mean to align the stack?
C
Assembly
Gcc
X86
Memory Alignment
Does using xor reg, reg give advantage over mov reg, 0?
Assembly
X86
Micro Optimization
Specifying multiple files with LD_PRELOAD
C
Linux
Dynamic
X86
Assembly - JG/JNLE/JL/JNGE after CMP
Assembly
X86
Eflags
Why GCC compiled C program needs .eh_frame section?
C
Assembly
Exception Handling
X86
Elf
Why is x86 little endian?
X86
Intel
Endianness
Cpu Architecture
Microprocessors
What are the ESP and the EBP registers?
Assembly
X86
Callstack
Stack Frame
What is register %eiz?
Assembly
X86
Gnu Assembler
Objdump
Compile/run assembler in Linux?
Linux
Ubuntu
X86
Assembly
LEA or ADD instruction?
Assembly
X86
Difference between x86, x32, and x64 architectures?
X86
64 Bit
X86 64
Cpu Architecture
Abi
How are atomic operations implemented at a hardware level?
X86
Atomic
Cpu Architecture
Lock Free
Smp
Do any languages / compilers utilize the x86 ENTER instruction with a nonzero nesting level?
Assembly
X86