blob: e5b0c8cd529ace917f8c4fc2d3c36867fa027fcf [file] [log] [blame]
/* APPLE LOCAL file 4656532 */
/* { dg-do compile { target "i?86-*-darwin*" } } */
/* { dg-options "-O2" } */
#include <mmintrin.h>
__m64 x, y;
void t1(int n) {
y = _mm_slli_si64(x, n);
}
void t2(void) {
y = _mm_slli_si64(x, 7);
}
void t3(int n) {
y = _mm_srli_si64(x, n);
}
void t4() {
y = _mm_srli_si64(x, 7);
}
/* { dg-final { scan-assembler-not "cltd" } } */
/* { dg-final { scan-assembler-not "\\\-16\\\(\\\%ebp\\\)" } } */