attributes for inline asm

- cpuid is marked pure because it's only used
  to access global but immutable data, not because
  it serializes instructions
Merge pull request #975 from MartinNowak/asmAttributes

attributes for inline asm