1 // RUN: %llvmgcc -S -o - %s | llc -mtriple=x86_64-apple-darwin | FileCheck %s
3 // XTARGET: x86,i386,i686
5 typedef long long int64_t;
6 typedef unsigned char uint8_t;
7 typedef int64_t x86_reg;
9 void avg_pixels8_mmx2(uint8_t *block, const uint8_t *pixels, int line_size, int h)
11 __asm__ volatile("# %0 %1 %2 %3"
12 :"+g"(h), "+S"(pixels), "+D"(block)
13 :"r" ((x86_reg)line_size)
15 // CHECK: # (%rsp) %rsi %rdi %rcx