aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/bfin/ashift_left.s
blob: 04cfa40fd770eb36edcdf049380184871c358c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Blackfin testcase for left ashift
# Dreg = Dreg << imm (S);
# mach: bfin

	.include "testutils.inc"

	.macro test in:req, shift:req, out:req, opt
	imm32 r0, \in;
	r1 = r0 >>> \shift \opt;
	CHECKREG r1, \out;
	.endm

	start

test 2, 1, 1, (S);

	pass