1//Original:/testcases/core/c_dsp32mult_pair_m_u/c_dsp32mult_pair_m_u.dsp 2// Spec Reference: dsp32mult pair MUNOP u 3# mach: bfin 4 5.include "testutils.inc" 6 start 7 8imm32 r0, 0x34235625; 9imm32 r1, 0x9f7a5127; 10imm32 r2, 0xa3286725; 11imm32 r3, 0x00069027; 12imm32 r4, 0xb0abc029; 13imm32 r5, 0x10acef2b; 14imm32 r6, 0xc00c00de; 15imm32 r7, 0xd246712f; 16R0 = R0.L * R0.L (FU); 17R2 = R0.L * R1.H (FU); 18R4 = R1.H * R1.H (FU); 19R6 = R0.L * R0.L (FU); 20CHECKREG r0, 0x1CFCE159; 21CHECKREG r1, 0x9F7A5127; 22CHECKREG r2, 0x8C61AB6A; 23CHECKREG r3, 0x00069027; 24CHECKREG r4, 0x6358C624; 25CHECKREG r5, 0x10ACEF2B; 26CHECKREG r6, 0xC65D90F1; 27CHECKREG r7, 0xD246712F; 28 29imm32 r0, 0x5b23a635; 30imm32 r1, 0x6fba5137; 31imm32 r2, 0x1324b735; 32imm32 r3, 0x90060037; 33imm32 r4, 0x80abcd39; 34imm32 r5, 0xb0acef3b; 35imm32 r6, 0xa00c003d; 36imm32 r7, 0x12467003; 37R0 = R2.L * R2.L (FU); 38R2 = R2.L * R3.H (FU); 39R4 = R3.H * R2.H (FU); 40R6 = R2.L * R3.L (FU); 41CHECKREG r0, 0x831CD0F9; 42CHECKREG r1, 0x6FBA5137; 43CHECKREG r2, 0x67121B3E; 44CHECKREG r3, 0x90060037; 45CHECKREG r4, 0x39FC8A6C; 46CHECKREG r5, 0xB0ACEF3B; 47CHECKREG r6, 0x0005DA52; 48CHECKREG r7, 0x12467003; 49 50imm32 r0, 0x1b235655; 51imm32 r1, 0xc4ba5157; 52imm32 r2, 0x43246755; 53imm32 r3, 0x05060055; 54imm32 r4, 0x906bc509; 55imm32 r5, 0x10a7ef5b; 56imm32 r6, 0xb00c805d; 57imm32 r7, 0x1246795f; 58R0 = R4.L * R4.L (FU); 59R2 = R4.L * R5.H (FU); 60R4 = R5.H * R5.H (FU); 61R6 = R4.L * R5.L (FU); 62CHECKREG r0, 0x97A6DA51; 63CHECKREG r1, 0xC4BA5157; 64CHECKREG r2, 0x0CD118DF; 65CHECKREG r3, 0x05060055; 66CHECKREG r4, 0x01154CF1; 67CHECKREG r5, 0x10A7EF5B; 68CHECKREG r6, 0x47F058AB; 69CHECKREG r7, 0x1246795F; 70 71imm32 r0, 0xbb235666; 72imm32 r1, 0xefba5166; 73imm32 r2, 0x13248766; 74imm32 r3, 0xf0060066; 75imm32 r4, 0x90ab9d69; 76imm32 r5, 0x10acef6b; 77imm32 r6, 0x800cb06d; 78imm32 r7, 0x1246706f; 79R0 = R6.L * R6.L (FU); 80R2 = R6.L * R7.H (FU); 81R4 = R7.H * R7.H (FU); 82R6 = R6.L * R7.L (FU); 83CHECKREG r0, 0x79960E69; 84CHECKREG r1, 0xEFBA5166; 85CHECKREG r2, 0x0C97E7CE; 86CHECKREG r3, 0xF0060066; 87CHECKREG r4, 0x014DEB24; 88CHECKREG r5, 0x10ACEF6B; 89CHECKREG r6, 0x4D7C2F43; 90CHECKREG r7, 0x1246706F; 91 92// mix order 93imm32 r0, 0xab23a675; 94imm32 r1, 0xcfba5127; 95imm32 r2, 0x13246705; 96imm32 r3, 0x00060007; 97imm32 r4, 0x90abcd09; 98imm32 r5, 0x10acdfdb; 99imm32 r6, 0x000c000d; 100imm32 r7, 0x1246f00f; 101R0 = R0.L * R7.L (FU); 102R2 = R1.L * R6.H (FU); 103R4 = R3.H * R4.H (FU); 104R6 = R4.L * R3.L (FU); 105CHECKREG r0, 0x9C1770DB; 106CHECKREG r1, 0xCFBA5127; 107CHECKREG r2, 0x0003CDD4; 108CHECKREG r3, 0x00060007; 109CHECKREG r4, 0x00036402; 110CHECKREG r5, 0x10ACDFDB; 111CHECKREG r6, 0x0002BC0E; 112CHECKREG r7, 0x1246F00F; 113 114imm32 r0, 0xab235a75; 115imm32 r1, 0xcfba5127; 116imm32 r2, 0x13246905; 117imm32 r3, 0x00060007; 118imm32 r4, 0x90abcd09; 119imm32 r5, 0x10ace9db; 120imm32 r6, 0x000c0d0d; 121imm32 r7, 0x1246700f; 122R1 = R7.H * R0.H (FU); 123R3 = R6.H * R1.H (FU); 124R5 = R5.H * R2.L (FU); 125R7 = R4.L * R3.H (FU); 126CHECKREG r0, 0xAB235A75; 127CHECKREG r1, 0x0C374192; 128CHECKREG r2, 0x13246905; 129CHECKREG r3, 0x00009294; 130CHECKREG r4, 0x90ABCD09; 131CHECKREG r5, 0x06D6DF5C; 132CHECKREG r6, 0x000C0D0D; 133CHECKREG r7, 0x00000000; 134 135imm32 r0, 0x9b235675; 136imm32 r1, 0xc9ba5127; 137imm32 r2, 0x13946705; 138imm32 r3, 0x00090007; 139imm32 r4, 0x90ab9d09; 140imm32 r5, 0x10ace9db; 141imm32 r6, 0x000c009d; 142imm32 r7, 0x12467009; 143R1 = R6.H * R4.L (FU); 144R3 = R5.L * R3.H (FU); 145R5 = R3.H * R1.L (FU); 146R7 = R1.H * R2.H (FU); 147CHECKREG r0, 0x9B235675; 148CHECKREG r1, 0x00075C6C; 149CHECKREG r2, 0x13946705; 150CHECKREG r3, 0x000838B3; 151CHECKREG r4, 0x90AB9D09; 152CHECKREG r5, 0x0002E360; 153CHECKREG r6, 0x000C009D; 154CHECKREG r7, 0x0000890C; 155 156imm32 r0, 0xeb235675; 157imm32 r1, 0xceba5127; 158imm32 r2, 0x13e46705; 159imm32 r3, 0x000e0007; 160imm32 r4, 0x90abed09; 161imm32 r5, 0x10aceedb; 162imm32 r6, 0x000c00ed; 163imm32 r7, 0x1246700e; 164R1 = R4.L * R0.H (FU); 165R3 = R6.H * R1.H (FU); 166R5 = R1.L * R2.L (FU); 167R7 = R4.H * R2.L (FU); 168CHECKREG r0, 0xEB235675; 169CHECKREG r1, 0xD9B7AB3B; 170CHECKREG r2, 0x13E46705; 171CHECKREG r3, 0x000A3494; 172CHECKREG r4, 0x90ABED09; 173CHECKREG r5, 0x44E81527; 174CHECKREG r6, 0x000C00ED; 175CHECKREG r7, 0x3A37A057; 176 177 178pass 179