• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test (fast) serialization.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s --check-prefix=Z10
4; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196  | FileCheck %s --check-prefix=Z196
5; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=zEC12 | FileCheck %s --check-prefix=ZEC12
6; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13   | FileCheck %s --check-prefix=Z13
7
8define void @test() {
9; Z10:   bcr 15, %r0
10; Z196:  bcr 14, %r0
11; ZEC12: bcr 14, %r0
12; Z13:   bcr 14, %r0
13  fence seq_cst
14  ret void
15}
16
17