[llvm-branch-commits] [llvm-branch] r164524 - /llvm/branches/R600/test/CodeGen/X86/atomic16.ll

Tom Stellard thomas.stellard at amd.com
Mon Sep 24 08:54:10 PDT 2012


Author: tstellar
Date: Mon Sep 24 10:52:24 2012
New Revision: 164524

URL: http://llvm.org/viewvc/llvm-project?rev=164524&view=rev
Log:
Enhance test case of atomic16 to verify inst encoding fixed in r164453.

Modified:
    llvm/branches/R600/test/CodeGen/X86/atomic16.ll

Modified: llvm/branches/R600/test/CodeGen/X86/atomic16.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/test/CodeGen/X86/atomic16.ll?rev=164524&r1=164523&r2=164524&view=diff
==============================================================================
--- llvm/branches/R600/test/CodeGen/X86/atomic16.ll (original)
+++ llvm/branches/R600/test/CodeGen/X86/atomic16.ll Mon Sep 24 10:52:24 2012
@@ -1,5 +1,11 @@
 ; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 | FileCheck %s --check-prefix X64
 ; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 | FileCheck %s --check-prefix X32
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep xaddw | grep 0x66
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep addw | grep 0x66
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep subw | grep 0x66
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep xorw | grep 0x66
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep orw | grep 0x66
+; RUN: llc < %s -O0 -mtriple=x86_64-linux-unknonw-unknown -mcpu=corei7 -show-mc-encoding | grep andw | grep 0x66
 
 @sc16 = external global i16
 





More information about the llvm-branch-commits mailing list