Comments (4)
The Intel manual explicitly says:
Specification of the instruction's opcode above indicates a ModR/M byte of F8. For this instruction, the processor
ignores the r/m field of the ModR/M byte. Thus, SFENCE is encoded by any opcode of the form 0F AE Fx, where x
is in the range 8-F
from x86reference.
Yea you're correct I missed it in felix's docs.
Although I'm not sure he grabbed this from the Intel manual, as far as I can tell this is all the given information about SFENCE
in the manual:
The SFENCE (Store Fence) instruction controls write ordering by creating a fence for memory store operations. This
instruction guarantees that the result of every store instruction that precedes the store fence in program order is
globally visible before any store instruction that follows the fence. The SFENCE instruction provides an efficient way
of ensuring ordering between procedures that produce weakly-ordered data and procedures that consume that
data.
Also disassemblers like objdump and capstone doesn't recognize this instruction if not used with F8
ModR/M byte.
You can confirm objdump disassembly here,
and capstone disassembly here.
You have any idea maybe where this quote is from since I couldn't find it in the manual and the other disassemblers disagree.
from x86reference.
This is the right one, page 601:
from x86reference.
This is the right one, page 601:
Hmmm interesting.
Wonder why other disassemblers missed it.
Guessed this can be closed :)
from x86reference.
Related Issues (20)
- JCXZ use wrong operand type HOT 1
- INTO is invalid in 64 bit mode HOT 1
- PMADDWD use wrong operand types HOT 1
- CVTDQ2PD use wrong operand types HOT 1
- PAND use wrong operand types HOT 2
- CMPSD use wrong operand types HOT 2
- CMPSS use wrong operand types HOT 2
- UD use wrong operand types and wrong instruction name HOT 1
- MOV need to be splitted to mem and nomem syntaxes HOT 1
- Add missing instruction CLFLUSHOPT HOT 1
- Processor family doesn't really make sense HOT 1
- LFENCE wrong opcode extension HOT 1
- instructions 0F AE has mod attribute on entry level and not on syntax level in the xml referefence HOT 2
- Potential missing metadata attribute for REX.W prefix and no prefix needed HOT 3
- Indicate NP and NFx HOT 1
- Add ADX instructions
- Add AES instructions HOT 1
- Add MPX instructions (discontinued)
- Add "system" instructions and prefixes
- Add instructions for AC flag manipulation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x86reference.