mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-03 15:26:18 +00:00
Address comments on r217622
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217680 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
; RUN: llc < %s -mcpu=pwr8 | FileCheck %s
|
||||
|
||||
; Generated from following C code:
|
||||
;
|
||||
; void foo (int result, char *addr) {
|
||||
; __asm__ __volatile__ (
|
||||
; "ld%U1%X1 %0,%1\n"
|
||||
; "cmpw %0,%0\n"
|
||||
; "bne- 1f\n"
|
||||
; "1: isync\n"
|
||||
; : "=r" (result)
|
||||
; : "m"(*addr) : "memory", "cr0");
|
||||
; }
|
||||
|
||||
target datalayout = "e-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64le-unknown-linux-gnu"
|
||||
|
||||
|
Reference in New Issue
Block a user