Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -mtriple=x86_64-apple-darwin -mcpu=corei7 < %s | FileCheck %s
      2 ; RUN: llc -mtriple=x86_64-linux-gnu -mcpu=corei7 < %s | FileCheck %s
      3 ; RUN: llc -mtriple=x86_64-windows-gnu -mcpu=corei7 < %s | FileCheck %s
      4 ; RUN: llc -mtriple=x86_64-windows-msvc -mcpu=corei7 < %s | FileCheck %s
      5 
      6 define webkit_jscc i32 @simple_jscall(i32 %a, i32 %b, i32 %c) {
      7   %ab = add i32 %a, %b
      8   %abc = add i32 %ab, %c
      9   ret i32 %abc
     10 }
     11 
     12 ; 32-bit integers are only aligned to 4 bytes, even on x64. They are *not*
     13 ; promoted to i64.
     14 
     15 ; CHECK: simple_jscall:
     16 ; CHECK: addl 8(%rsp), %eax
     17 ; CHECK-NEXT: addl 12(%rsp), %eax
     18 ; CHECK-NEXT: retq
     19