2 ms·
agree completely. and if you are using an intel cpu why the heck would you not use intel notation?
by zabzonk 4y ago
agree completely. and if you are using an intel cpu why the heck would you not use intel notation?
- 3836293648 4y agox86 ≠ Intel. There are three companies that make x86 cpus
- deleted 4y ago[deleted]
- saagarjha 4y agoI use AMD notation personally.
- amluto 4y agoThat’s okay — AMD’s manual, like Intel’s manual, uses Intel syntax. (I personally find cmp to be really annoying in AT&T syntax —- the AT&T syntax cmp; jge is backwards, whereas the exact same sequence in Intel syntax makes sense. (jge is “jump if greater or equal”. But which values are compared in which order? [0]). AVX-512 in AT&T syntax is extra bizarre, too, if for no other reason than that it doesn’t match the documentation. [0] For extra mental gymnastics, CMP with two register arguments can be encoded in two different ways: the way where the first operand could have been, but wasn’t, in memory, and the way where the second operand could have been, but wasn’t, in memory. Unlike SUB, CMP doesn’t really have a destination, but AT&T still reverses it for, ahem, consistency.
- greyw 4y agoI'm mainly using amd64 nowadays don't know what that has to do with intel.