[llvm-dev] LLVM Assembly Instructions Generation Syntax

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 22 07:01:23 PDT 2017


On 22 June 2017 at 00:32, hameeza ahmed via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> is it due to llvm follows gas syntax instead of intel? but my machine and
> normally machines are intel based then how does this gas syntax assembly of
> llvm execute on our machines?

The syntax only affects the textual representation of the
instructions. The assemblers know which style they're looking at and
produce the same sequence of bytes in each case, which the CPU
obviously executes the same.

Cheers.

Tim.


More information about the llvm-dev mailing list