void main() {
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  asm(" xchg %bx, %bx");
  while (1)
    ;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
jmp    1179 <main+0x79>

x86 assembly (clang, -O2):
<main>:
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
xchg   %bx,%bx
cs nopw 0x0(%rax,%rax,1)
nop
jmp    1180 <main+0x80>

LLVM IR (-O0):
define void @main() {
br label %1
1: ; preds = %0, %1
br label %1
}

LLVM IR (-O2):
define void @main() {
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
tail call void asm sideeffect " xchg %bx, %bx", "~{dirflag},~{fpsr},~{flags}"()
br label %1
1: ; preds = %0, %1
br label %1
}