]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/bfin/random_0006.S
sim: bfin: import testsuite
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / bfin / random_0006.S
1 # Test BYTEOP[123]P behavior when source reg pairs match
2 # mach: bfin
3 #include "test.h"
4 .include "testutils.inc"
5
6 start
7
8 imm32 R0, (0x18204e10 | _VS | _AV1S | _AV0S | _AC1 | _CC); ASTAT = R0;
9 imm32 R1, 0x05b931c4;
10 imm32 R4, 0x05f205f2;
11 R4 = BYTEOP1P (R1:0, R1:0) (T, R);
12
13 imm32 R0, (0x3470cc10 | _VS | _AC1 | _AC0 | _AQ | _CC | _AC0_COPY | _AZ); ASTAT = R0;
14 imm32 R1, 0x00000000;
15 imm32 R6, 0x0000007f;
16 R6 = BYTEOP2P (R1:0, R1:0) (RNDH);
17
18 imm32 R0, (0x1c708c90 | _VS | _V | _AV1S | _AC0 | _V_COPY | _AC0_COPY | _AN); ASTAT = R0;
19 imm32 R0, 0x3e2a80ca;
20 imm32 R1, 0x20dec740;
21 R0 = BYTEOP3P (R1:0, R1:0) (LO);
22
23 pass