From 03481334b56e88d0713fb97694256b303ab6e81a Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 23 Aug 2013 11:36:42 +0000 Subject: [SystemZ] Add basic prefetch support Just the instructions and intrinsics for now. llvm-svn: 189100 --- llvm/lib/Target/SystemZ/SystemZ.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Target/SystemZ/SystemZ.h') diff --git a/llvm/lib/Target/SystemZ/SystemZ.h b/llvm/lib/Target/SystemZ/SystemZ.h index bb6ceac83b6..ea6c7d17fa5 100644 --- a/llvm/lib/Target/SystemZ/SystemZ.h +++ b/llvm/lib/Target/SystemZ/SystemZ.h @@ -57,6 +57,10 @@ namespace llvm { const unsigned CCMASK_SRST_NOTFOUND = CCMASK_2; const unsigned CCMASK_SRST = CCMASK_1 | CCMASK_2; + // Mask assignments for PFD. + const unsigned PFD_READ = 1; + const unsigned PFD_WRITE = 2; + // Return true if Val fits an LLILL operand. static inline bool isImmLL(uint64_t Val) { return (Val & ~0x000000000000ffffULL) == 0; -- cgit v1.2.3