3 ms·
In case anyone is wondering what the "hidden instructions" he found are, many of them are documented elsewhere: 0f0d/0-7 were all prefetch instructions, bu
by userbinator 9y ago
In case anyone is wondering what the "hidden instructions" he found are, many of them are documented elsewhere:
0f0d/0-7 were all prefetch instructions, but probably behave like NOPs if not supported
0f18/0-7 are HINT_NOPs
0f{1a-1f} are also HINT_NOPs
0fae is a bunch of assorted instructions (FXSAVE, FXRSTOR, LDMXCSR, etc.)
dbe0 is FNENI
dbe1 is FNDISI
df{c0-c7} are x87 ops
f1 is ICEBP
c0,c1,d0,d1,d2,d3 groups have a few aliases (SAL/SHL)
f6/1 and f/1 are aliases of f6/0 and f7/0
0f0f are 3DNow instructions and it wouldn't surprise me if there were many aliases there
0fa7 was briefly used for the IBTS instruction on the very earliest 386s and then CMPXCHG for the very earliest 486s
(http://datasheets.chipdb.org/Intel/x86/486/Intel486.htm)
perhaps VIA continued to use it for a CMPXCHG alias
IMHO the 1-byte opcode map has basically been completely explored and documented, perhaps with the exception of some of the x87 stuff. It's the 2-byte (0F xx) ones where things start to get really interesting.
- twiddlydee 9y agoI think this is a bit of an oversimplification. I’m seeing some of these appear on sandpile.org, it does look like a lot of them are vestigial/legacy things. But, I think the implied meaning of “documented” for the presentation is “documented by the manufacturer”. Just because some of these have been reverse engineered by others doesn’t really make them “documented”, at least, not in the spirit of what the project is trying to find. He also points out that some of these (0f0d, 0f18, etc) were added to the documentation in the last year - the concern is that they were hidden for years and years before that. 0f0f and 0fa7 look like the most interesting to me - 0f0f is probably 3Dnow, but I can’t find any information on the gaps in the 3Dnow set; he says in the presentation 0fa7 is the via padlock instructions, I can’t find any references on the gaps in that range either.
- userbinator 9y agohttp://linux.via.com.tw/support/beginDownload.action?eleid=181&fid=261 http://linux.via.com.tw/support/beginDownload.action?eleid=1... Interesting. 0fa7xx is indeed where the VIA Padlock instructions live, but the last byte is probably being partially decoded.