1# Check -madd-bnd-prefix option
2	.text
3
4	call	foo
5	call	*(%rax)
6	je	foo
7	jmp	foo
8	jmp	*(%rbx)
9	ret
10foo:
11	# Use of REPNE prefix - we shouldn't get any error
12	repne ret
13	# BND prefix already exists - we shouldn't get any error here
14	bnd ret
15	bnd call	foo
16	# Following instructions can't have BND prefix even if
17	# -madd-bnd-prefix is specified
18	add %rax, %rbx
19	loop foo
20