Provide (undocumented for now) __pause() call to emit PAUSE inst.

This commit is contained in:
Matt Pharr
2012-06-28 09:25:51 -07:00
parent f38770bf2a
commit d34a87404d
2 changed files with 6 additions and 0 deletions

View File

@@ -1603,6 +1603,11 @@ declare void @ISPCInstrument(i8*, i8*, i32, i64) nounwind
declare i1 @__is_compile_time_constant_mask(<WIDTH x MASK> %mask)
declare i1 @__is_compile_time_constant_varying_int32(<WIDTH x i32>)
define void @__pause() nounwind readnone {
call void asm sideeffect "pause", "~{dirflag},~{fpsr},~{flags}"() nounwind
ret void
}
; This function declares placeholder masked store functions for the
; front-end to use.
;