[cfe-commits] r102182 - in /cfe/trunk/test/CodeGen: arm_asm_clobber.c asm_arm.c

Chris Lattner sabre at nondot.org
Fri Apr 23 09:30:18 PDT 2010


Author: lattner
Date: Fri Apr 23 11:30:17 2010
New Revision: 102182

URL: http://llvm.org/viewvc/llvm-project?rev=102182&view=rev
Log:
rename test

Added:
    cfe/trunk/test/CodeGen/asm_arm.c
      - copied unchanged from r102181, cfe/trunk/test/CodeGen/arm_asm_clobber.c
Removed:
    cfe/trunk/test/CodeGen/arm_asm_clobber.c

Removed: cfe/trunk/test/CodeGen/arm_asm_clobber.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm_asm_clobber.c?rev=102181&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/arm_asm_clobber.c (original)
+++ cfe/trunk/test/CodeGen/arm_asm_clobber.c (removed)
@@ -1,32 +0,0 @@
-// RUN: %clang_cc1 -triple armv6-unknown-unknown -emit-llvm -o - %s | FileCheck %s
-
-void test0(void) {
-	asm volatile("mov r0, r0" :: );
-}
-void test1(void) {
-	asm volatile("mov r0, r0" :::
-				 "cc", "memory" );
-}
-void test2(void) {
-	asm volatile("mov r0, r0" :::
-				 "r0", "r1", "r2", "r3");
-	asm volatile("mov r0, r0" :::
-				 "r4", "r5", "r6", "r8");
-}
-void test3(void) {
-	asm volatile("mov r0, r0" :::
-				 "a1", "a2", "a3", "a4");
-	asm volatile("mov r0, r0" :::
-				 "v1", "v2", "v3", "v5");
-}
-
-
-// {} should not be treated as asm variants.
-void test4(float *a, float *b) {
-  // CHECK: @test4
-  // CHECK: call void asm sideeffect "vld1.32 {d8[],d9[]}, 
-  __asm__ volatile (
-                    "vld1.32 {d8[],d9[]}, [%1,:32] \n\t"
-                    "vst1.32 {q4},        [%0,:128] \n\t"
-                    :: "r"(a), "r"(b));
-}





More information about the cfe-commits mailing list