Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qb45
on July 3, 2017
|
parent
|
context
|
favorite
| on:
I found a bug in Intel Skylake processors
TFA says clang actually uses an encoding of AND which operates on RAX but takes only 32b of constant so it is pretty much the solution you propose. And BTW, operating directly on EAX itself fucks up the upper half of RAX.
yuhong
on July 5, 2017
[–]
AFAIK it is standard for all 64-bit instructions that use immediates.
qb45
on July 5, 2017
|
parent
[–]
Interesting, it seems you are right and no 64b immediates are possible at all except in MOV.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: