1cac31de146e7131f411715dc6cb1958ea59bd754Evan Cheng@ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s 236b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ RUN: llvm-mc -triple=armebv7-unknown-unknown -mcpu=cortex-a8 -show-encoding < %s | FileCheck --check-prefix=CHECK-BE %s 33f00e317064560ad11168d22030416d853829f6eJim Grosbach .syntax unified 43f00e317064560ad11168d22030416d853829f6eJim Grosbach .globl _func 5e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 6e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ Check that the assembler can handle the documented syntax from the ARM ARM. 7e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ For complex constructs like shifter operands, check more thoroughly for them 8e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ once then spot check that following instructions accept the form generally. 9e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ This gives us good coverage while keeping the overall size of the test 10e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ more reasonable. 11e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 123f00e317064560ad11168d22030416d853829f6eJim Grosbach_func: 133f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: _func 143f00e317064560ad11168d22030416d853829f6eJim Grosbach 15da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 163f00e317064560ad11168d22030416d853829f6eJim Grosbach@ ADC (immediate) 17da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 181e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf 19ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r1, r2, $0xf 20ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r1, r2, 0xf 21ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, #(0xff << 16) 22ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, #-2147483638 23ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, #42, #2 24ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, #40, #2 25ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, $40, $2 26ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, 40, 2 27ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adc r7, r8, (2 * 20), (1 << 1) 281e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf0 291e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf00 301e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf000 311e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf0000 321e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf00000 331e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf000000 341e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf0000000 351e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r1, r2, #0xf000000f 361e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adcs r1, r2, #0xf00 37ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adcs r7, r8, #40, #2 381e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adcseq r1, r2, #0xf00 391e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adceq r1, r2, #0xf00 403f00e317064560ad11168d22030416d853829f6eJim Grosbach 413f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 42ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 43ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 44ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #16711680 @ encoding: [0xff,0x78,0xa8,0xe2] 45ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xa8,0xe2] 46ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xa8,0xe2] 47ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xa8,0xe2] 48ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xa8,0xe2] 49ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xa8,0xe2] 50ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xa8,0xe2] 513f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #240 @ encoding: [0xf0,0x10,0xa2,0xe2] 523f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #3840 @ encoding: [0x0f,0x1c,0xa2,0xe2] 533f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #61440 @ encoding: [0x0f,0x1a,0xa2,0xe2] 543f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #983040 @ encoding: [0x0f,0x18,0xa2,0xe2] 553f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #15728640 @ encoding: [0x0f,0x16,0xa2,0xe2] 563f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adc r1, r2, #251658240 @ encoding: [0x0f,0x14,0xa2,0xe2] 57ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r1, r2, #-268435456 @ encoding: [0x0f,0x12,0xa2,0xe2] 58ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adc r1, r2, #-268435441 @ encoding: [0xff,0x12,0xa2,0xe2] 593f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adcs r1, r2, #3840 @ encoding: [0x0f,0x1c,0xb2,0xe2] 60ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adcs r7, r8, #40, #2 @ encoding: [0x28,0x71,0xb8,0xe2] 613f00e317064560ad11168d22030416d853829f6eJim Grosbach@ CHECK: adcseq r1, r2, #3840 @ encoding: [0x0f,0x1c,0xb2,0x02] 62dc89561fecf100d6c32d73c7b009fd73e51be688Jim Grosbach@ CHECK: adceq r1, r2, #3840 @ encoding: [0x0f,0x1c,0xa2,0x02] 63e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 64da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 65e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ ADC (register) 66da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ ADC (shifted register) 67da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 681e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6 691e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ Constant shifts 701e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, lsl #1 711e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, lsl #31 721e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, lsr #1 731e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, lsr #31 741e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, lsr #32 751e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, asr #1 761e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, asr #31 771e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, asr #32 781e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, ror #1 791e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, ror #31 801e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 811e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ Register shifts 821e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, r8, lsl r9 831e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, r8, lsr r9 841e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, r8, asr r9 851e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, r8, ror r9 861e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, r6, rrx 871e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 881e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ Destination register is optional 891e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r5, r6 901e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, lsl #1 911e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, lsl #31 921e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, lsr #1 931e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, lsr #31 941e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, lsr #32 951e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, asr #1 961e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, asr #31 971e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, asr #32 981e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, ror #1 991e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, ror #31 1001e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, rrx 1011e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, lsl r9 1021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, lsr r9 1031e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, asr r9 1041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r6, r7, ror r9 1051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adc r4, r5, rrx 10637ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach 107e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6 @ encoding: [0x06,0x40,0xa5,0xe0] 108e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 109e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, lsl #1 @ encoding: [0x86,0x40,0xa5,0xe0] 110e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, lsl #31 @ encoding: [0x86,0x4f,0xa5,0xe0] 111e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, lsr #1 @ encoding: [0xa6,0x40,0xa5,0xe0] 112e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, lsr #31 @ encoding: [0xa6,0x4f,0xa5,0xe0] 113e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, lsr #32 @ encoding: [0x26,0x40,0xa5,0xe0] 114e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, asr #1 @ encoding: [0xc6,0x40,0xa5,0xe0] 115e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, asr #31 @ encoding: [0xc6,0x4f,0xa5,0xe0] 116e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, asr #32 @ encoding: [0x46,0x40,0xa5,0xe0] 117e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, ror #1 @ encoding: [0xe6,0x40,0xa5,0xe0] 118e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, ror #31 @ encoding: [0xe6,0x4f,0xa5,0xe0] 119e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 120e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0xa7,0xe0] 121e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0xa7,0xe0] 122e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0xa7,0xe0] 123e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0xa7,0xe0] 124e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach@ CHECK: adc r4, r5, r6, rrx @ encoding: [0x66,0x40,0xa5,0xe0] 125e8606dc7c878d4562da5e3e5609b9d7d734d498cJim Grosbach 12637ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r5, r5, r6 @ encoding: [0x06,0x50,0xa5,0xe0] 12737ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, lsl #1 @ encoding: [0x85,0x40,0xa4,0xe0] 12837ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, lsl #31 @ encoding: [0x85,0x4f,0xa4,0xe0] 12937ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, lsr #1 @ encoding: [0xa5,0x40,0xa4,0xe0] 13037ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, lsr #31 @ encoding: [0xa5,0x4f,0xa4,0xe0] 13137ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, lsr #32 @ encoding: [0x25,0x40,0xa4,0xe0] 13237ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, asr #1 @ encoding: [0xc5,0x40,0xa4,0xe0] 13337ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, asr #31 @ encoding: [0xc5,0x4f,0xa4,0xe0] 13437ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, asr #32 @ encoding: [0x45,0x40,0xa4,0xe0] 13537ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, ror #1 @ encoding: [0xe5,0x40,0xa4,0xe0] 13637ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, ror #31 @ encoding: [0xe5,0x4f,0xa4,0xe0] 13737ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, rrx @ encoding: [0x65,0x40,0xa4,0xe0] 13837ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0xa6,0xe0] 13937ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0xa6,0xe0] 14037ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0xa6,0xe0] 14137ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0xa6,0xe0] 14237ee464ea98544d3ed84cec6dde5f769ce003d5fJim Grosbach@ CHECK: adc r4, r4, r5, rrx @ encoding: [0x65,0x40,0xa4,0xe0] 143da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach 144da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach 145da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 14670a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach@ ADR 1477ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 14870a0915cd135b48c557a5bc81b37e33f54fe150eJim GrosbachLback: 1491e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adr r2, Lback 1501e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adr r3, Lforward 15170a0915cd135b48c557a5bc81b37e33f54fe150eJim GrosbachLforward: 1521e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adr r2, #3 1531e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach adr r2, #-3 15470a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach 15570a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach@ CHECK: Lback: 1562abba8496cb394af53b531e95067d5cae78bb9eeJim Grosbach@ CHECK: adr r2, Lback @ encoding: [A,0x20'A',0x0f'A',0xe2'A'] 15770a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach@ CHECK: @ fixup A - offset: 0, value: Lback, kind: fixup_arm_adr_pcrel_12 15836b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: adr r2, Lback @ encoding: [0xe2'A',0x0f'A',0x20'A',A] 15936b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: Lback, kind: fixup_arm_adr_pcrel_12 1602abba8496cb394af53b531e95067d5cae78bb9eeJim Grosbach@ CHECK: adr r3, Lforward @ encoding: [A,0x30'A',0x0f'A',0xe2'A'] 16170a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach@ CHECK: @ fixup A - offset: 0, value: Lforward, kind: fixup_arm_adr_pcrel_12 16236b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: adr r3, Lforward @ encoding: [0xe2'A',0x0f'A',0x30'A',A] 16336b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: Lforward, kind: fixup_arm_adr_pcrel_12 16470a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach@ CHECK: Lforward: 16596425c846494c1c20a4c931f4783571295ab170cOwen Anderson@ CHECK: adr r2, #3 @ encoding: [0x03,0x20,0x8f,0xe2] 16696425c846494c1c20a4c931f4783571295ab170cOwen Anderson@ CHECK: adr r2, #-3 @ encoding: [0x03,0x20,0x4f,0xe2] 16770a0915cd135b48c557a5bc81b37e33f54fe150eJim Grosbach 1681fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu adr r1, #-0x0 1691fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu adr r1, #-0x12000000 170d65dfd83421f4d26e6dc20476718d7d9b6ba3f3bTim Northover adr r1, #-0x80000001 1711fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu adr r1, #0x12000000 172d65dfd83421f4d26e6dc20476718d7d9b6ba3f3bTim Northover adr r1, #0x80000001 1731fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu 1741fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu@ CHECK: adr r1, #-0 @ encoding: [0x00,0x10,0x4f,0xe2] 1751fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu@ CHECK: adr r1, #-301989888 @ encoding: [0x12,0x14,0x4f,0xe2] 176d65dfd83421f4d26e6dc20476718d7d9b6ba3f3bTim Northover@ CHECK: adr r1, #2147483647 @ encoding: [0x06,0x11,0x4f,0xe2] 1771fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu@ CHECK: adr r1, #301989888 @ encoding: [0x12,0x14,0x8f,0xe2] 178d65dfd83421f4d26e6dc20476718d7d9b6ba3f3bTim Northover@ CHECK: adr r1, #-2147483647 @ encoding: [0x06,0x11,0x8f,0xe2] 1791fb27eccf5b7eabde9678d84411eb1df8a693683Jiangning Liu 1807ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 181da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ ADD 182da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@------------------------------------------------------------------------------ 1831e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, #0xf000 184ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r4, r5, $0xf000 185ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r4, r5, 0xf000 186ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r4, r5, -0xf000 187ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, #(0xff << 16) 188ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, #-2147483638 189ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, #42, #2 190ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, #40, #2 191ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, $40, $2 192ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, 40, 2 193ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, r8, (2 * 20), (1 << 1) 1941e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6 1951e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, lsl #5 1961e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, lsr #5 1971e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, lsr #5 1981e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, asr #5 1991e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, ror #5 2001e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, r8, lsl r9 201af4edea67b007592f9474e07d27182956e37f7f5Jim Grosbach add r4, r4, r3, asl r9 2021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, r8, lsr r9 2031e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, r8, asr r9 2041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, r8, ror r9 2051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, r6, rrx 2061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 2071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ destination register is optional 2081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r5, #0xf000 209ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r5, $0xf000 210ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r5, 0xf000 211ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r5, -0xf000 212ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, #(0xff << 16) 213ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, #-2147483638 214ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, #42, #2 215ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, #40, #2 216ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, $40, $2 217ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, 40, 2 218ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r7, (2 * 20), (1 << 1) 2191e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5 2201e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, lsl #5 2211e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, lsr #5 2221e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, lsr #5 2231e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, asr #5 2241e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, ror #5 2251e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, lsl r9 2261e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, lsr r9 2271e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, asr r9 2281e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r6, r7, ror r9 2291e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach add r4, r5, rrx 230da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach 231ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r0, #-4 232ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r4, r5, #-21 233ea8ddd86b1e364a799e57fc0ac468a9c4a8f8bcfMihai Popa add r0, pc, #0xc0000000 234ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines addseq r0,pc,#0xc0000000 235ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 236ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 237ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines add r0, pc, #(Lback - .) 2383bc8a3d3afe3ddda884a681002e24850099b719eJim Grosbach 239da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe2] 240ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe2] 241ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe2] 242ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r4, r5, #61440 @ encoding: [0x0f,0x4a,0x45,0xe2] 243ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #16711680 @ encoding: [0xff,0x78,0x88,0xe2] 244ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x88,0xe2] 245ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x88,0xe2] 246ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe2] 247ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe2] 248ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe2] 249ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe2] 250da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6 @ encoding: [0x06,0x40,0x85,0xe0] 251da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x85,0xe0] 252da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x85,0xe0] 253da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x85,0xe0] 254da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0x85,0xe0] 255da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0x85,0xe0] 256da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0x87,0xe0] 257af4edea67b007592f9474e07d27182956e37f7f5Jim Grosbach@ CHECK: add r4, r4, r3, lsl r9 @ encoding: [0x13,0x49,0x84,0xe0] 258da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0x87,0xe0] 259da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0x87,0xe0] 260da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x87,0xe0] 261da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r5, r6, rrx @ encoding: [0x66,0x40,0x85,0xe0] 262da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach 263da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe2] 264ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe2] 265ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe2] 266ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r5, r5, #61440 @ encoding: [0x0f,0x5a,0x45,0xe2] 267ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #16711680 @ encoding: [0xff,0x78,0x87,0xe2] 268ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x87,0xe2] 269ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x87,0xe2] 270ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe2] 271ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe2] 272ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe2] 273ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: add r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe2] 274da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5 @ encoding: [0x05,0x40,0x84,0xe0] 275da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0x84,0xe0] 276da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x84,0xe0] 277da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x84,0xe0] 278da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0x84,0xe0] 279da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0x84,0xe0] 280da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0x86,0xe0] 281da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0x86,0xe0] 282da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x86,0xe0] 283da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x86,0xe0] 284da9f278c741e8ced7c1652720270918eb04ed348Jim Grosbach@ CHECK: add r4, r4, r5, rrx @ encoding: [0x65,0x40,0x84,0xe0] 28559642c260064a0c9140e048d702a21830020487fJim Grosbach 2863bc8a3d3afe3ddda884a681002e24850099b719eJim Grosbach@ CHECK: sub r0, r0, #4 @ encoding: [0x04,0x00,0x40,0xe2] 2873bc8a3d3afe3ddda884a681002e24850099b719eJim Grosbach@ CHECK: sub r4, r5, #21 @ encoding: [0x15,0x40,0x45,0xe2] 288ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adr r0, #-1073741824 @ encoding: [0x03,0x01,0x8f,0xe2] 289ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: addseq r0, pc, #-1073741824 @ encoding: [0x03,0x01,0x9f,0x02] 290ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: Ltmp0: 291ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK-NEXT: Ltmp1: 292ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK-NEXT: adr r0, (Ltmp1+8)+(Lback-Ltmp0) @ encoding: [A,A,0x0f'A',0xe2'A'] 293ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK-NEXT: @ fixup A - offset: 0, value: (Ltmp1+8)+(Lback-Ltmp0), kind: fixup_arm_adr_pcrel_12 2943bc8a3d3afe3ddda884a681002e24850099b719eJim Grosbach 2958ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 2968ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton add r3, r1, r2, lsr #32 2978ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton add r3, r1, r2, asr #32 2988ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: add r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0x81,0xe0] 2998ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: add r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0x81,0xe0] 30059642c260064a0c9140e048d702a21830020487fJim Grosbach 30159642c260064a0c9140e048d702a21830020487fJim Grosbach@------------------------------------------------------------------------------ 302ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ ADDS 303ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 304ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, #16711680 305ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, $16711680 306ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, 16711680 307ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, #(0xff << 16) 308ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, #-2147483638 309ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, #42, #2 310ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, #40, #2 311ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, $40, $2 312ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, 40, 2 313ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines adds r7, r8, (2 * 20), (1 << 1) 314ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 315ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #16711680 @ encoding: [0xff,0x78,0x98,0xe2] 316ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #16711680 @ encoding: [0xff,0x78,0x98,0xe2] 317ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #16711680 @ encoding: [0xff,0x78,0x98,0xe2] 318ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #16711680 @ encoding: [0xff,0x78,0x98,0xe2] 319ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x98,0xe2] 320ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x98,0xe2] 321ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #40, #2 @ encoding: [0x28,0x71,0x98,0xe2] 322ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #40, #2 @ encoding: [0x28,0x71,0x98,0xe2] 323ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #40, #2 @ encoding: [0x28,0x71,0x98,0xe2] 324ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: adds r7, r8, #40, #2 @ encoding: [0x28,0x71,0x98,0xe2] 325ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 326ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 32759642c260064a0c9140e048d702a21830020487fJim Grosbach@ AND 32859642c260064a0c9140e048d702a21830020487fJim Grosbach@------------------------------------------------------------------------------ 3291e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, #0xf 330ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r10, r1, $0xf 331ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r10, r1, 0xf 332ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r10, r1, -0xf 333ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, #(0xff << 16) 334ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, #-2147483638 335ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, #42, #2 336ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, #40, #2 337ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, $40, $2 338ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, 40, 2 339ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, r8, (2 * 20), (1 << 1) 3401e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6 3411e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, lsl #10 3421e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, lsr #10 3431e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, lsr #10 3441e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, asr #10 3451e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, ror #10 3461e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, r8, lsl r2 3471e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, r8, lsr r2 3481e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, r8, asr r2 3491e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, r8, ror r2 3501e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, r6, rrx 351840bf7eda7c81059a0aae9abd51262147c60d814Jim Grosbach and r2, r3, #0x7fffffff 352cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar and sp, sp, #0x7fffffff 353cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar and pc, pc, #0x7fffffff 3541e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 3551e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ destination register is optional 3561e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r1, #0xf 357ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r1, $0xf 358ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r1, 0xf 359ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r1, -0xf 360ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, #(0xff << 16) 361ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, #-2147483638 362ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, #42, #2 363ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, #40, #2 364ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, $40, $2 365ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, 40, 2 366ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines and r7, (2 * 20), (1 << 1) 3671e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1 3681e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, lsl #10 3691e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, lsr #10 3701e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, lsr #10 3711e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, asr #10 3721e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, ror #10 3731e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, lsl r2 3741e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, lsr r2 3751e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, asr r2 3761e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r6, r7, ror r2 3771e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach and r10, r1, rrx 37859642c260064a0c9140e048d702a21830020487fJim Grosbach 37959642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, #15 @ encoding: [0x0f,0xa0,0x01,0xe2] 380ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r10, r1, #15 @ encoding: [0x0f,0xa0,0x01,0xe2] 381ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r10, r1, #15 @ encoding: [0x0f,0xa0,0x01,0xe2] 382ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r10, r1, #14 @ encoding: [0x0e,0xa0,0xc1,0xe3] 383ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #16711680 @ encoding: [0xff,0x78,0x08,0xe2] 384ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x08,0xe2] 385ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x08,0xe2] 386ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #40, #2 @ encoding: [0x28,0x71,0x08,0xe2] 387ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #40, #2 @ encoding: [0x28,0x71,0x08,0xe2] 388ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #40, #2 @ encoding: [0x28,0x71,0x08,0xe2] 389ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r8, #40, #2 @ encoding: [0x28,0x71,0x08,0xe2] 39059642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6 @ encoding: [0x06,0xa0,0x01,0xe0] 39159642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, lsl #10 @ encoding: [0x06,0xa5,0x01,0xe0] 39259642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, lsr #10 @ encoding: [0x26,0xa5,0x01,0xe0] 39359642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, lsr #10 @ encoding: [0x26,0xa5,0x01,0xe0] 39459642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, asr #10 @ encoding: [0x46,0xa5,0x01,0xe0] 39559642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, ror #10 @ encoding: [0x66,0xa5,0x01,0xe0] 39659642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r7, r8, lsl r2 @ encoding: [0x18,0x62,0x07,0xe0] 39759642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r7, r8, lsr r2 @ encoding: [0x38,0x62,0x07,0xe0] 39859642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r7, r8, asr r2 @ encoding: [0x58,0x62,0x07,0xe0] 39959642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r7, r8, ror r2 @ encoding: [0x78,0x62,0x07,0xe0] 40059642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r1, r6, rrx @ encoding: [0x66,0xa0,0x01,0xe0] 401840bf7eda7c81059a0aae9abd51262147c60d814Jim Grosbach@ CHECK: bic r2, r3, #-2147483648 @ encoding: [0x02,0x21,0xc3,0xe3] 402cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar@ CHECK: bic sp, sp, #-2147483648 @ encoding: [0x02,0xd1,0xcd,0xe3] 403cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar@ CHECK: bic pc, pc, #-2147483648 @ encoding: [0x02,0xf1,0xcf,0xe3] 40459642c260064a0c9140e048d702a21830020487fJim Grosbach 40559642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r1, r1, #15 @ encoding: [0x0f,0x10,0x01,0xe2] 406ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r1, r1, #15 @ encoding: [0x0f,0x10,0x01,0xe2] 407ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r1, r1, #15 @ encoding: [0x0f,0x10,0x01,0xe2] 408ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r1, r1, #14 @ encoding: [0x0e,0x10,0xc1,0xe3] 409ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #16711680 @ encoding: [0xff,0x78,0x07,0xe2] 410ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x07,0xe2] 411ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x07,0xe2] 412ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #40, #2 @ encoding: [0x28,0x71,0x07,0xe2] 413ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #40, #2 @ encoding: [0x28,0x71,0x07,0xe2] 414ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #40, #2 @ encoding: [0x28,0x71,0x07,0xe2] 415ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r7, r7, #40, #2 @ encoding: [0x28,0x71,0x07,0xe2] 41659642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1 @ encoding: [0x01,0xa0,0x0a,0xe0] 41759642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, lsl #10 @ encoding: [0x01,0xa5,0x0a,0xe0] 41859642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, lsr #10 @ encoding: [0x21,0xa5,0x0a,0xe0] 41959642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, lsr #10 @ encoding: [0x21,0xa5,0x0a,0xe0] 42059642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, asr #10 @ encoding: [0x41,0xa5,0x0a,0xe0] 42159642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, ror #10 @ encoding: [0x61,0xa5,0x0a,0xe0] 42259642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r6, r7, lsl r2 @ encoding: [0x17,0x62,0x06,0xe0] 42359642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r6, r7, lsr r2 @ encoding: [0x37,0x62,0x06,0xe0] 42459642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r6, r7, asr r2 @ encoding: [0x57,0x62,0x06,0xe0] 42559642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r6, r6, r7, ror r2 @ encoding: [0x77,0x62,0x06,0xe0] 42659642c260064a0c9140e048d702a21830020487fJim Grosbach@ CHECK: and r10, r10, r1, rrx @ encoding: [0x61,0xa0,0x0a,0xe0] 42759642c260064a0c9140e048d702a21830020487fJim Grosbach 4288ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 4298ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton and r3, r1, r2, lsr #32 4308ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton and r3, r1, r2, asr #32 4318ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: and r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0x01,0xe0] 4328ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: and r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0x01,0xe0] 4338ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton 4347ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 43571810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach@ ASR 4367ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 43771810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach asr r2, r4, #32 43871810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach asr r2, r4, #2 439ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach asr r2, r4, #0 4409f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach asr r4, #2 44171810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach 44271810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach@ CHECK: asr r2, r4, #32 @ encoding: [0x44,0x20,0xa0,0xe1] 44371810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach@ CHECK: asr r2, r4, #2 @ encoding: [0x44,0x21,0xa0,0xe1] 444ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: mov r2, r4 @ encoding: [0x04,0x20,0xa0,0xe1] 4459f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach@ CHECK: asr r4, r4, #2 @ encoding: [0x44,0x41,0xa0,0xe1] 44671810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach 44771810ab7c0ecd6927dde1eee0c73169642f3764dJim Grosbach 4487ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 44943afb6ff1cf7b040e2d70abb47679e1357a329d5Jim Grosbach@ B 4507ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 451293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach b _bar 452293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach beq _baz 453293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 454293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: b _bar @ encoding: [A,A,A,0xea] 45536b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch 45636b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: b _bar @ encoding: [0xea,A,A,A] 45736b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch 458293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: beq _baz @ encoding: [A,A,A,0x0a] 45936b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK: @ fixup A - offset: 0, value: _baz, kind: fixup_arm_condbranch 46036b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: beq _baz @ encoding: [0x0a,A,A,A] 46136b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: _baz, kind: fixup_arm_condbranch 462293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 463293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 4647ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 465293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ BFC 4667ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 4671e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bfc r5, #3, #17 4681e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bfccc r5, #3, #17 469293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 470293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: bfc r5, #3, #17 @ encoding: [0x9f,0x51,0xd3,0xe7] 471293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: bfclo r5, #3, #17 @ encoding: [0x9f,0x51,0xd3,0x37] 472293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 473293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 4747ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 475293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ BFI 4767ed6d22e9637c52b3511ac6907830251d1124e60Jim Grosbach@------------------------------------------------------------------------------ 4771e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bfi r5, r2, #3, #17 4781e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bfine r5, r2, #3, #17 479293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 480293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: bfi r5, r2, #3, #17 @ encoding: [0x92,0x51,0xd3,0xe7] 481293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach@ CHECK: bfine r5, r2, #3, #17 @ encoding: [0x92,0x51,0xd3,0x17] 482293a2ee3063953bb6f5bc828831f985f054782a3Jim Grosbach 483e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach 484e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@------------------------------------------------------------------------------ 48576cbe02cdd57a297d9c6f1e5106e4718abd7ff9fJim Grosbach@ BIC 486e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@------------------------------------------------------------------------------ 4871e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, #0xf 488ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r10, r1, $0xf 489ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r10, r1, 0xf 490ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r10, r1, -0xf 491ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, #(0xff << 16) 492ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, #-2147483638 493ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, #42, #2 494ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, #40, #2 495ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, $40, $2 496ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, 40, 2 497ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, r8, (2 * 20), (1 << 1) 4981e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6 4991e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, lsl #10 5001e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, lsr #10 5011e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, lsr #10 5021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, asr #10 5031e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, ror #10 5041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, r8, lsl r2 5051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, r8, lsr r2 5061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, r8, asr r2 5071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, r8, ror r2 5081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, r6, rrx 509cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar bic r2, r3, #0x7fffffff 510cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar bic sp, sp, #0x7fffffff 511cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar bic pc, pc, #0x7fffffff 512cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar 5131e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 5141e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ destination register is optional 5151e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r1, #0xf 516ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r1, $0xf 517ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r1, 0xf 518ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r1, -0xf 519ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, #(0xff << 16) 520ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, #-2147483638 521ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, #42, #2 522ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, #40, #2 523ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, $40, $2 524ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, 40, 2 525ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines bic r7, (2 * 20), (1 << 1) 5261e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1 5271e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, lsl #10 5281e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, lsr #10 5291e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, lsr #10 5301e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, asr #10 5311e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, ror #10 5321e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, lsl r2 5331e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, lsr r2 5341e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, asr r2 5351e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r6, r7, ror r2 5361e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bic r10, r1, rrx 537e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach 538e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, #15 @ encoding: [0x0f,0xa0,0xc1,0xe3] 539ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r10, r1, #15 @ encoding: [0x0f,0xa0,0xc1,0xe3] 540ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r10, r1, #15 @ encoding: [0x0f,0xa0,0xc1,0xe3] 541ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r10, r1, #14 @ encoding: [0x0e,0xa0,0x01,0xe2] 542ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #16711680 @ encoding: [0xff,0x78,0xc8,0xe3] 543ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xc8,0xe3] 544ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xc8,0xe3] 545ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe3] 546ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe3] 547ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe3] 548e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6 @ encoding: [0x06,0xa0,0xc1,0xe1] 549e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, lsl #10 @ encoding: [0x06,0xa5,0xc1,0xe1] 550e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, lsr #10 @ encoding: [0x26,0xa5,0xc1,0xe1] 551e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, lsr #10 @ encoding: [0x26,0xa5,0xc1,0xe1] 552e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, asr #10 @ encoding: [0x46,0xa5,0xc1,0xe1] 553e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, ror #10 @ encoding: [0x66,0xa5,0xc1,0xe1] 554e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r7, r8, lsl r2 @ encoding: [0x18,0x62,0xc7,0xe1] 555e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r7, r8, lsr r2 @ encoding: [0x38,0x62,0xc7,0xe1] 556e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r7, r8, asr r2 @ encoding: [0x58,0x62,0xc7,0xe1] 557e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r7, r8, ror r2 @ encoding: [0x78,0x62,0xc7,0xe1] 558e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r1, r6, rrx @ encoding: [0x66,0xa0,0xc1,0xe1] 559cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar@ CHECK: and r2, r3, #-2147483648 @ encoding: [0x02,0x21,0x03,0xe2] 560cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar@ CHECK: and sp, sp, #-2147483648 @ encoding: [0x02,0xd1,0x0d,0xe2] 561cddc3e03e4ec99c0268c03a126195173e519ed58Pirama Arumuga Nainar@ CHECK: and pc, pc, #-2147483648 @ encoding: [0x02,0xf1,0x0f,0xe2] 562e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach 563e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach 564e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r1, r1, #15 @ encoding: [0x0f,0x10,0xc1,0xe3] 565ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r1, r1, #15 @ encoding: [0x0f,0x10,0xc1,0xe3] 566ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r1, r1, #15 @ encoding: [0x0f,0x10,0xc1,0xe3] 567ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: and r1, r1, #14 @ encoding: [0x0e,0x10,0x01,0xe2] 568ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #16711680 @ encoding: [0xff,0x78,0xc7,0xe3] 569ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xc7,0xe3] 570ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xc7,0xe3] 571ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe3] 572ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe3] 573ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe3] 574ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: bic r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe3] 575e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1 @ encoding: [0x01,0xa0,0xca,0xe1] 576e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, lsl #10 @ encoding: [0x01,0xa5,0xca,0xe1] 577e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, lsr #10 @ encoding: [0x21,0xa5,0xca,0xe1] 578e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, lsr #10 @ encoding: [0x21,0xa5,0xca,0xe1] 579e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, asr #10 @ encoding: [0x41,0xa5,0xca,0xe1] 580e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, ror #10 @ encoding: [0x61,0xa5,0xca,0xe1] 581e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r6, r7, lsl r2 @ encoding: [0x17,0x62,0xc6,0xe1] 582e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r6, r7, lsr r2 @ encoding: [0x37,0x62,0xc6,0xe1] 583e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r6, r7, asr r2 @ encoding: [0x57,0x62,0xc6,0xe1] 584e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r6, r6, r7, ror r2 @ encoding: [0x77,0x62,0xc6,0xe1] 585e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach@ CHECK: bic r10, r10, r1, rrx @ encoding: [0x61,0xa0,0xca,0xe1] 586e52240c3705f3133eb8c4ebb4220054c68de2651Jim Grosbach 5878ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 5888ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton bic r3, r1, r2, lsr #32 5898ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton bic r3, r1, r2, asr #32 5908ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: bic r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0xc1,0xe1] 5918ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: bic r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0xc1,0xe1] 5928ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton 59321101d60ce94f51651f71eeb61ceb8264eccac83Jim Grosbach@------------------------------------------------------------------------------ 59421101d60ce94f51651f71eeb61ceb8264eccac83Jim Grosbach@ BKPT 59521101d60ce94f51651f71eeb61ceb8264eccac83Jim Grosbach@------------------------------------------------------------------------------ 5961e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bkpt #10 5971e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bkpt #65535 59821101d60ce94f51651f71eeb61ceb8264eccac83Jim Grosbach 599fff76ee7ef007b2bb74804f165fee475e30ead0dJim Grosbach@ CHECK: bkpt #10 @ encoding: [0x7a,0x00,0x20,0xe1] 600fff76ee7ef007b2bb74804f165fee475e30ead0dJim Grosbach@ CHECK: bkpt #65535 @ encoding: [0x7f,0xff,0x2f,0xe1] 60137023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 60237023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach@------------------------------------------------------------------------------ 60337023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach@ BL/BLX (immediate) 60437023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach@------------------------------------------------------------------------------ 60537023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 6061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bl _bar 607cb0809b82b126e79b99755ae4fc3d9733faea038James Molloy bleq _bar 6081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blx _bar 6091e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blls #28634268 6101e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blx #32424576 6111e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blx #16212288 61237023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 613f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ CHECK: bl _bar @ encoding: [A,A,A,0xeb] 614cb0809b82b126e79b99755ae4fc3d9733faea038James Molloy@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbl 61536b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: bl _bar @ encoding: [0xeb,A,A,A] 61636b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbl 617cb0809b82b126e79b99755ae4fc3d9733faea038James Molloy@ CHECK: bleq _bar @ encoding: [A,A,A,0x0b] 618cb0809b82b126e79b99755ae4fc3d9733faea038James Molloy@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_condbl 61936b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: bleq _bar @ encoding: [0x0b,A,A,A] 62036b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_condbl 621cf121c35c484ee17210fde1cecbd896348cd654aJim Grosbach@ CHECK: blx _bar @ encoding: [A,A,A,0xfa] 62236b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_blx 62336b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: blx _bar @ encoding: [0xfa,A,A,A] 62436b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines@ CHECK-BE: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_blx 625d7568e1c355f5e364eddafc15c6d5553559f32a5Owen Anderson@ CHECK: blls #28634268 @ encoding: [0x27,0x3b,0x6d,0x9b] 626f1eab597b2316c6cfcabfcee98895fedb2071722Owen Anderson@ CHECK: blx #32424576 @ encoding: [0xa0,0xb0,0x7b,0xfa] 627f1eab597b2316c6cfcabfcee98895fedb2071722Owen Anderson@ CHECK: blx #16212288 @ encoding: [0x50,0xd8,0x3d,0xfa] 628f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 629f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ BLX (register) 630f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 6311e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blx r2 6321e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach blxne r2 63337023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 63437023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach@ CHECK: blx r2 @ encoding: [0x32,0xff,0x2f,0xe1] 63537023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach@ CHECK: blxne r2 @ encoding: [0x32,0xff,0x2f,0x11] 63637023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 637f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 638f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ BX 639f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 6401e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bx r2 6411e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bxne r2 642f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach 643f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ CHECK: bx r2 @ encoding: [0x12,0xff,0x2f,0xe1] 644f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ CHECK: bxne r2 @ encoding: [0x12,0xff,0x2f,0x11] 645f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach 646f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 647f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ BXJ 648f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@------------------------------------------------------------------------------ 6491e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bxj r2 6501e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach bxjne r2 65137023b05c84000373fcfc0871edad3c2b995be33Jim Grosbach 652f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ CHECK: bxj r2 @ encoding: [0x22,0xff,0x2f,0xe1] 653f333d471d2cdd47d830dfe3a3e40efbb106c100dJim Grosbach@ CHECK: bxjne r2 @ encoding: [0x22,0xff,0x2f,0x11] 65483ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach 65583ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach 65683ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach@------------------------------------------------------------------------------ 65783ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach@ CDP/CDP2 65883ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach@------------------------------------------------------------------------------ 6591e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cdp p7, #1, c1, c1, c1, #4 6601e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cdp2 p7, #1, c1, c1, c1, #4 6611b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov cdp2 p12, #0, c6, c12, c0, #7 66283ab070fc1fbb02ca77b0a37e6ae0eacf58001e1Jim Grosbach 663d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CHECK: cdp p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0xee] 664d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CHECK: cdp2 p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0xfe] 6651b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: cdp2 p12, #0, c6, c12, c0, #7 @ encoding: [0xe0,0x6c,0x0c,0xfe] 666d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 667c19bd321362166805194cbaf170e06a4790d2da9Tim Northover cdpne p7, #1, c1, c1, c1, #4 668c19bd321362166805194cbaf170e06a4790d2da9Tim Northover@ CHECK: cdpne p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0x1e] 669d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 670d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@------------------------------------------------------------------------------ 671d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CLREX 672d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@------------------------------------------------------------------------------ 6731e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach clrex 674d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 675d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CHECK: clrex @ encoding: [0x1f,0xf0,0x7f,0xf5] 676d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 677d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 678d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@------------------------------------------------------------------------------ 679d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CLZ 680d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@------------------------------------------------------------------------------ 6811e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach clz r1, r2 6821e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach clzeq r1, r2 683d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach 684d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CHECK: clz r1, r2 @ encoding: [0x12,0x1f,0x6f,0xe1] 685d986bc66bc56251c2b7d5b9a89df14c4760568fcJim Grosbach@ CHECK: clzeq r1, r2 @ encoding: [0x12,0x1f,0x6f,0x01] 68614ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach 68714ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@------------------------------------------------------------------------------ 68814ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CMN 68914ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@------------------------------------------------------------------------------ 6901e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, #0xf 691ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r1, $0xf 692ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r1, 0xf 693ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r1, -0xf 694ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, #(0xff << 16) 695ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, #-2147483638 696ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, #42, #2 697ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, #40, #2 698ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, $40, $2 699ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, 40, 2 700ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmn r7, (20 * 2), (1 << 1) 7011e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6 7021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6, lsl #10 7031e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6, lsr #10 7041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn sp, r6, lsr #10 7051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6, asr #10 7061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6, ror #10 7071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r7, r8, lsl r2 7081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn sp, r8, lsr r2 7091e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r7, r8, asr r2 7101e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r7, r8, ror r2 7111e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmn r1, r6, rrx 71214ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach 71314ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, #15 @ encoding: [0x0f,0x00,0x71,0xe3] 714ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r1, #15 @ encoding: [0x0f,0x00,0x71,0xe3] 715ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r1, #15 @ encoding: [0x0f,0x00,0x71,0xe3] 716ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r1, #15 @ encoding: [0x0f,0x00,0x51,0xe3] 717ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #16711680 @ encoding: [0xff,0x08,0x77,0xe3] 718ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #-2147483638 @ encoding: [0x2a,0x01,0x77,0xe3] 719ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #-2147483638 @ encoding: [0x2a,0x01,0x77,0xe3] 720ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #40, #2 @ encoding: [0x28,0x01,0x77,0xe3] 721ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #40, #2 @ encoding: [0x28,0x01,0x77,0xe3] 722ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #40, #2 @ encoding: [0x28,0x01,0x77,0xe3] 723ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r7, #40, #2 @ encoding: [0x28,0x01,0x77,0xe3] 72414ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6 @ encoding: [0x06,0x00,0x71,0xe1] 72514ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6, lsl #10 @ encoding: [0x06,0x05,0x71,0xe1] 72614ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6, lsr #10 @ encoding: [0x26,0x05,0x71,0xe1] 72714ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn sp, r6, lsr #10 @ encoding: [0x26,0x05,0x7d,0xe1] 72814ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6, asr #10 @ encoding: [0x46,0x05,0x71,0xe1] 72914ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6, ror #10 @ encoding: [0x66,0x05,0x71,0xe1] 73014ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r7, r8, lsl r2 @ encoding: [0x18,0x02,0x77,0xe1] 73114ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn sp, r8, lsr r2 @ encoding: [0x38,0x02,0x7d,0xe1] 73214ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r7, r8, asr r2 @ encoding: [0x58,0x02,0x77,0xe1] 73314ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r7, r8, ror r2 @ encoding: [0x78,0x02,0x77,0xe1] 73414ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmn r1, r6, rrx @ encoding: [0x66,0x00,0x71,0xe1] 73514ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach 73614ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@------------------------------------------------------------------------------ 73714ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CMP 73814ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@------------------------------------------------------------------------------ 7391e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, #0xf 740ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r1, $0xf 741ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r1, 0xf 742ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r1, -0xf 743ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, #(0xff << 16) 744ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, #-2147483638 745ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, #42, #2 746ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, #40, #2 747ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, $40, $2 748ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, 40, 2 749ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines cmp r7, (2 * 20), (1 << 1) 7501e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6 7511e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6, lsl #10 7521e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6, lsr #10 7531e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp sp, r6, lsr #10 7541e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6, asr #10 7551e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6, ror #10 7561e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r7, r8, lsl r2 7571e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp sp, r8, lsr r2 7581e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r7, r8, asr r2 7591e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r7, r8, ror r2 7601e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach cmp r1, r6, rrx 7618d11c6349f9bf276534907245946518042c1bb60Jim Grosbach cmp r0, #-2 762b22e70d835a88753d3ec6d5ee5e85b23fa6834b1Jim Grosbach cmp lr, #0 76314ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach 76414ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, #15 @ encoding: [0x0f,0x00,0x51,0xe3] 765ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r1, #15 @ encoding: [0x0f,0x00,0x51,0xe3] 766ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r1, #15 @ encoding: [0x0f,0x00,0x51,0xe3] 767ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmn r1, #15 @ encoding: [0x0f,0x00,0x71,0xe3] 768ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #16711680 @ encoding: [0xff,0x08,0x57,0xe3] 769ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #-2147483638 @ encoding: [0x2a,0x01,0x57,0xe3] 770ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #-2147483638 @ encoding: [0x2a,0x01,0x57,0xe3] 771ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #40, #2 @ encoding: [0x28,0x01,0x57,0xe3] 772ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #40, #2 @ encoding: [0x28,0x01,0x57,0xe3] 773ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #40, #2 @ encoding: [0x28,0x01,0x57,0xe3] 774ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: cmp r7, #40, #2 @ encoding: [0x28,0x01,0x57,0xe3] 77514ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6 @ encoding: [0x06,0x00,0x51,0xe1] 77614ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6, lsl #10 @ encoding: [0x06,0x05,0x51,0xe1] 77714ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6, lsr #10 @ encoding: [0x26,0x05,0x51,0xe1] 77814ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp sp, r6, lsr #10 @ encoding: [0x26,0x05,0x5d,0xe1] 77914ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6, asr #10 @ encoding: [0x46,0x05,0x51,0xe1] 78014ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6, ror #10 @ encoding: [0x66,0x05,0x51,0xe1] 78114ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r7, r8, lsl r2 @ encoding: [0x18,0x02,0x57,0xe1] 78214ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp sp, r8, lsr r2 @ encoding: [0x38,0x02,0x5d,0xe1] 78314ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r7, r8, asr r2 @ encoding: [0x58,0x02,0x57,0xe1] 78414ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r7, r8, ror r2 @ encoding: [0x78,0x02,0x57,0xe1] 78514ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach@ CHECK: cmp r1, r6, rrx @ encoding: [0x66,0x00,0x51,0xe1] 7868d11c6349f9bf276534907245946518042c1bb60Jim Grosbach@ CHECK: cmn r0, #2 @ encoding: [0x02,0x00,0x70,0xe3] 787b22e70d835a88753d3ec6d5ee5e85b23fa6834b1Jim Grosbach@ CHECK: cmp lr, #0 @ encoding: [0x00,0x00,0x5e,0xe3] 78814ab1c3387a240a914cf8b1907bb3609bae72269Jim Grosbach 78971d3d67508176091575714dddf008b77db4089c9Jim Grosbach 79071d3d67508176091575714dddf008b77db4089c9Jim Grosbach@------------------------------------------------------------------------------ 79171d3d67508176091575714dddf008b77db4089c9Jim Grosbach@ CPS 79271d3d67508176091575714dddf008b77db4089c9Jim Grosbach@------------------------------------------------------------------------------ 79371d3d67508176091575714dddf008b77db4089c9Jim Grosbach cpsie aif 79471d3d67508176091575714dddf008b77db4089c9Jim Grosbach cps #15 79571d3d67508176091575714dddf008b77db4089c9Jim Grosbach cpsid if, #10 79671d3d67508176091575714dddf008b77db4089c9Jim Grosbach 79771d3d67508176091575714dddf008b77db4089c9Jim Grosbach@ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1] 79871d3d67508176091575714dddf008b77db4089c9Jim Grosbach@ CHECK: cps #15 @ encoding: [0x0f,0x00,0x02,0xf1] 79971d3d67508176091575714dddf008b77db4089c9Jim Grosbach@ CHECK: cpsid if, #10 @ encoding: [0xca,0x00,0x0e,0xf1] 80071d3d67508176091575714dddf008b77db4089c9Jim Grosbach 80171d3d67508176091575714dddf008b77db4089c9Jim Grosbach 8026f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@------------------------------------------------------------------------------ 8036f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@ DBG 8046f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@------------------------------------------------------------------------------ 8051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dbg #0 8061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dbg #5 8071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dbg #15 8086f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach 8096f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@ CHECK: dbg #0 @ encoding: [0xf0,0xf0,0x20,0xe3] 8106f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@ CHECK: dbg #5 @ encoding: [0xf5,0xf0,0x20,0xe3] 8116f9f8845028d4d3b96c33417398034a71137d867Jim Grosbach@ CHECK: dbg #15 @ encoding: [0xff,0xf0,0x20,0xe3] 812032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach 813032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach 814032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@------------------------------------------------------------------------------ 815032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ DMB 816032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@------------------------------------------------------------------------------ 817c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xf 818c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xe 819c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xd 820c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xc 821c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xb 822c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0xa 823c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x9 824c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x8 825c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x7 826c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x6 827c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x5 828c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x4 829c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x3 830c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x2 831c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x1 832c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dmb #0x0 833c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 8341e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb sy 8351e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb st 8361e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb sh 8371e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb ish 8381e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb shst 8391e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb ishst 8401e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb un 8411e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb nsh 8421e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb unst 8431e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb nshst 8441e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb osh 8451e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb oshst 8461e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dmb 847032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach 848032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb sy @ encoding: [0x5f,0xf0,0x7f,0xf5] 849032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb st @ encoding: [0x5e,0xf0,0x7f,0xf5] 850c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0xd @ encoding: [0x5d,0xf0,0x7f,0xf5] 851c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0xc @ encoding: [0x5c,0xf0,0x7f,0xf5] 852c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb ish @ encoding: [0x5b,0xf0,0x7f,0xf5] 853c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb ishst @ encoding: [0x5a,0xf0,0x7f,0xf5] 854c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x9 @ encoding: [0x59,0xf0,0x7f,0xf5] 855c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x8 @ encoding: [0x58,0xf0,0x7f,0xf5] 856c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb nsh @ encoding: [0x57,0xf0,0x7f,0xf5] 857c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb nshst @ encoding: [0x56,0xf0,0x7f,0xf5] 858c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x5 @ encoding: [0x55,0xf0,0x7f,0xf5] 859c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x4 @ encoding: [0x54,0xf0,0x7f,0xf5] 860c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb osh @ encoding: [0x53,0xf0,0x7f,0xf5] 861c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb oshst @ encoding: [0x52,0xf0,0x7f,0xf5] 862c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x1 @ encoding: [0x51,0xf0,0x7f,0xf5] 863c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb #0x0 @ encoding: [0x50,0xf0,0x7f,0xf5] 864c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 865c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb sy @ encoding: [0x5f,0xf0,0x7f,0xf5] 866c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dmb st @ encoding: [0x5e,0xf0,0x7f,0xf5] 867032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb ish @ encoding: [0x5b,0xf0,0x7f,0xf5] 868032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb ish @ encoding: [0x5b,0xf0,0x7f,0xf5] 869032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb ishst @ encoding: [0x5a,0xf0,0x7f,0xf5] 870032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb ishst @ encoding: [0x5a,0xf0,0x7f,0xf5] 871032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb nsh @ encoding: [0x57,0xf0,0x7f,0xf5] 872032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb nsh @ encoding: [0x57,0xf0,0x7f,0xf5] 873032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb nshst @ encoding: [0x56,0xf0,0x7f,0xf5] 874032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb nshst @ encoding: [0x56,0xf0,0x7f,0xf5] 875032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb osh @ encoding: [0x53,0xf0,0x7f,0xf5] 876032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb oshst @ encoding: [0x52,0xf0,0x7f,0xf5] 877032434d622b6cd030a60bb9045a520c93b0d7d68Jim Grosbach@ CHECK: dmb sy @ encoding: [0x5f,0xf0,0x7f,0xf5] 878e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach 879e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@------------------------------------------------------------------------------ 880e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ DSB 881e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@------------------------------------------------------------------------------ 882c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xf 883c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xe 884c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xd 885c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xc 886c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xb 887c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0xa 888c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x9 889c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x8 890c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x7 891c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x6 892c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x5 893c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x4 894c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x3 895c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x2 896c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x1 897c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb #0x0 898c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 899c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb 8 900c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu dsb 7 901c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 9021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb sy 9031e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb st 9041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb sh 9051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb ish 9061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb shst 9071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb ishst 9081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb un 9091e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb nsh 9101e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb unst 9111e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb nshst 9121e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb osh 9131e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb oshst 9141e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach dsb 915e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach 916e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5] 917e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb st @ encoding: [0x4e,0xf0,0x7f,0xf5] 918c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0xd @ encoding: [0x4d,0xf0,0x7f,0xf5] 919c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0xc @ encoding: [0x4c,0xf0,0x7f,0xf5] 920c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb ish @ encoding: [0x4b,0xf0,0x7f,0xf5] 921c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb ishst @ encoding: [0x4a,0xf0,0x7f,0xf5] 922c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x9 @ encoding: [0x49,0xf0,0x7f,0xf5] 923c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x8 @ encoding: [0x48,0xf0,0x7f,0xf5] 924c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5] 925c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb nshst @ encoding: [0x46,0xf0,0x7f,0xf5] 926c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x5 @ encoding: [0x45,0xf0,0x7f,0xf5] 927c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x4 @ encoding: [0x44,0xf0,0x7f,0xf5] 928c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb osh @ encoding: [0x43,0xf0,0x7f,0xf5] 929c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb oshst @ encoding: [0x42,0xf0,0x7f,0xf5] 930c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x1 @ encoding: [0x41,0xf0,0x7f,0xf5] 931c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x0 @ encoding: [0x40,0xf0,0x7f,0xf5] 932c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 933c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb #0x8 @ encoding: [0x48,0xf0,0x7f,0xf5] 934c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5] 935c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu 936c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5] 937c1b7ca5ba28ded2d83ae534c8e072c2538d43295Jiangning Liu@ CHECK: dsb st @ encoding: [0x4e,0xf0,0x7f,0xf5] 938e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb ish @ encoding: [0x4b,0xf0,0x7f,0xf5] 939e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb ish @ encoding: [0x4b,0xf0,0x7f,0xf5] 940e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb ishst @ encoding: [0x4a,0xf0,0x7f,0xf5] 941e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb ishst @ encoding: [0x4a,0xf0,0x7f,0xf5] 942e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5] 943e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5] 944e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb nshst @ encoding: [0x46,0xf0,0x7f,0xf5] 945e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb nshst @ encoding: [0x46,0xf0,0x7f,0xf5] 946e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb osh @ encoding: [0x43,0xf0,0x7f,0xf5] 947e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb oshst @ encoding: [0x42,0xf0,0x7f,0xf5] 948e77494e3e3da59afaa51d1bbcf732fa2851d865dJim Grosbach@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5] 94900a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach 9504acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton@ With capitals 9514acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton dsb SY 9524acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton dsb OSHST 9534acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton 9544acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5] 9554acefe192f02849bcb2fd620a9f507c00d39a686Richard Barton@ CHECK: dsb oshst @ encoding: [0x42,0xf0,0x7f,0xf5] 95600a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@------------------------------------------------------------------------------ 95700a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ EOR 95800a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@------------------------------------------------------------------------------ 9591e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, #0xf000 960ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r4, r5, $0xf000 961ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r4, r5, 0xf000 962ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, #(0xff << 16) 963ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, #-2147483638 964ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, #42, #2 965ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, #40, #2 966ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, $40, $2 967ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, 40, 2 968ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, r8, (20 * 2), (1 << 1) 9691e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6 9701e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, lsl #5 9711e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, lsr #5 9721e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, lsr #5 9731e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, asr #5 9741e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, ror #5 9751e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, r8, lsl r9 9761e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, r8, lsr r9 9771e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, r8, asr r9 9781e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, r8, ror r9 9791e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, r6, rrx 9801e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach 9811e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach @ destination register is optional 9821e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r5, #0xf000 983ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r5, $0xf000 984ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r5, 0xf000 985ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, #(0xff << 16) 986ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, #-2147483638 987ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, #42, #2 988ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, #40, #2 989ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, $40, $2 990ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, 40, 2 991ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines eor r7, (20 * 2), (1 << 1) 9921e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5 9931e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, lsl #5 9941e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, lsr #5 9951e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, lsr #5 9961e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, asr #5 9971e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, ror #5 9981e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, lsl r9 9991e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, lsr r9 10001e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, asr r9 10011e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r6, r7, ror r9 10021e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach eor r4, r5, rrx 100300a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach 100400a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, #61440 @ encoding: [0x0f,0x4a,0x25,0xe2] 1005ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r4, r5, #61440 @ encoding: [0x0f,0x4a,0x25,0xe2] 1006ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r4, r5, #61440 @ encoding: [0x0f,0x4a,0x25,0xe2] 1007ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #16711680 @ encoding: [0xff,0x78,0x28,0xe2] 1008ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x28,0xe2] 1009ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x28,0xe2] 1010ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #40, #2 @ encoding: [0x28,0x71,0x28,0xe2] 1011ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #40, #2 @ encoding: [0x28,0x71,0x28,0xe2] 1012ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #40, #2 @ encoding: [0x28,0x71,0x28,0xe2] 1013ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r8, #40, #2 @ encoding: [0x28,0x71,0x28,0xe2] 101400a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6 @ encoding: [0x06,0x40,0x25,0xe0] 101500a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x25,0xe0] 101600a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x25,0xe0] 101700a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x25,0xe0] 101800a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0x25,0xe0] 101900a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0x25,0xe0] 102000a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0x27,0xe0] 102100a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0x27,0xe0] 102200a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0x27,0xe0] 102300a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x27,0xe0] 102400a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r5, r6, rrx @ encoding: [0x66,0x40,0x25,0xe0] 102500a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach 102600a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach 102700a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r5, r5, #61440 @ encoding: [0x0f,0x5a,0x25,0xe2] 1028ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r5, r5, #61440 @ encoding: [0x0f,0x5a,0x25,0xe2] 1029ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r5, r5, #61440 @ encoding: [0x0f,0x5a,0x25,0xe2] 1030ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #16711680 @ encoding: [0xff,0x78,0x27,0xe2] 1031ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x27,0xe2] 1032ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x27,0xe2] 1033ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #40, #2 @ encoding: [0x28,0x71,0x27,0xe2] 1034ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #40, #2 @ encoding: [0x28,0x71,0x27,0xe2] 1035ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #40, #2 @ encoding: [0x28,0x71,0x27,0xe2] 1036ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: eor r7, r7, #40, #2 @ encoding: [0x28,0x71,0x27,0xe2] 103700a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5 @ encoding: [0x05,0x40,0x24,0xe0] 103800a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0x24,0xe0] 103900a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x24,0xe0] 104000a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x24,0xe0] 104100a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0x24,0xe0] 104200a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0x24,0xe0] 104300a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0x26,0xe0] 104400a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0x26,0xe0] 104500a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x26,0xe0] 104600a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x26,0xe0] 104700a66653cbe56dfbdb831172b54097bf8256a191Jim Grosbach@ CHECK: eor r4, r4, r5, rrx @ encoding: [0x65,0x40,0x24,0xe0] 1048791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach 10498ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 10508ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton eor r3, r1, r2, lsr #32 10518ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton eor r3, r1, r2, asr #32 10528ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: eor r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0x21,0xe0] 10538ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: eor r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0x21,0xe0] 1054791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach 1055791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach@------------------------------------------------------------------------------ 1056791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach@ ISB 1057791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach@------------------------------------------------------------------------------ 1058791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach isb sy 1059791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach isb 10604e9a96d810eb0cc126ebe6f18e536b474c84940cAmaury de la Vieuville isb #15 10614e9a96d810eb0cc126ebe6f18e536b474c84940cAmaury de la Vieuville isb #1 1062791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach 1063791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] 1064791feea10071223886e2fe2bfa0e1f4cb2c0ce74Jim Grosbach@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] 10654e9a96d810eb0cc126ebe6f18e536b474c84940cAmaury de la Vieuville@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] 10664e9a96d810eb0cc126ebe6f18e536b474c84940cAmaury de la Vieuville@ CHECK: isb #0x1 @ encoding: [0x61,0xf0,0x7f,0xf5] 10673b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 10683b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 10692bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@------------------------------------------------------------------------------ 10702bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ LDC{L}/LDC2{L} 10712bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@------------------------------------------------------------------------------ 10722bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p0, c8, [r1, #4] 10732bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p1, c7, [r2] 10742bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p2, c6, [r3, #-224] 10752bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p3, c5, [r4, #-120]! 10762bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p4, c4, [r5], #16 10772bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2 p5, c3, [r6], #-72 10782bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2l p6, c2, [r7, #4] 10792bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2l p7, c1, [r8] 10802bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2l p8, c0, [r9, #-224] 10812bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc2l p9, c1, [r10, #-120]! 10821b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov ldc2l p0, c2, [r11], #16 10831b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov ldc2l p1, c3, [r12], #-72 10842bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 10852bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p12, c4, [r0, #4] 10862bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p13, c5, [r1] 10872bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p14, c6, [r2, #-224] 10882bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p15, c7, [r3, #-120]! 10892bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p5, c8, [r4], #16 10902bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldc p4, c9, [r5], #-72 10912bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p3, c10, [r6, #4] 10922bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p2, c11, [r7] 10932bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p1, c12, [r8, #-224] 10942bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p0, c13, [r9, #-120]! 10952bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p6, c14, [r10], #16 10962bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcl p7, c15, [r11], #-72 10972bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 10982bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldclo p12, c4, [r0, #4] 10992bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldchi p13, c5, [r1] 11002bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldccs p14, c6, [r2, #-224] 11012bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldccc p15, c7, [r3, #-120]! 11022bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldceq p5, c8, [r4], #16 11032bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcgt p4, c9, [r5], #-72 11042bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcllt p3, c10, [r6, #4] 11052bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldclge p2, c11, [r7] 11062bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldclle p1, c12, [r8, #-224] 11072bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldclne p0, c13, [r9, #-120]! 11082bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldcleq p6, c14, [r10], #16 11092bd0118472de352745a2e038245fab4974f7c87eJim Grosbach ldclhi p7, c15, [r11], #-72 11102bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 11119b8f2a0b365ea62a5fef80bbaab3cf0252db2fcfJim Grosbach ldc2 p2, c8, [r1], { 25 } 11129b8f2a0b365ea62a5fef80bbaab3cf0252db2fcfJim Grosbach 11132bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p0, c8, [r1, #4] @ encoding: [0x01,0x80,0x91,0xfd] 11142bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p1, c7, [r2] @ encoding: [0x00,0x71,0x92,0xfd] 11152bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p2, c6, [r3, #-224] @ encoding: [0x38,0x62,0x13,0xfd] 11162bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p3, c5, [r4, #-120]! @ encoding: [0x1e,0x53,0x34,0xfd] 11172bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p4, c4, [r5], #16 @ encoding: [0x04,0x44,0xb5,0xfc] 11182bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2 p5, c3, [r6], #-72 @ encoding: [0x12,0x35,0x36,0xfc] 11192bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2l p6, c2, [r7, #4] @ encoding: [0x01,0x26,0xd7,0xfd] 11202bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2l p7, c1, [r8] @ encoding: [0x00,0x17,0xd8,0xfd] 11212bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2l p8, c0, [r9, #-224] @ encoding: [0x38,0x08,0x59,0xfd] 11222bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc2l p9, c1, [r10, #-120]! @ encoding: [0x1e,0x19,0x7a,0xfd] 11231b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: ldc2l p0, c2, [r11], #16 @ encoding: [0x04,0x20,0xfb,0xfc] 11241b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: ldc2l p1, c3, [r12], #-72 @ encoding: [0x12,0x31,0x7c,0xfc] 11252bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 11262bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p12, c4, [r0, #4] @ encoding: [0x01,0x4c,0x90,0xed] 11272bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p13, c5, [r1] @ encoding: [0x00,0x5d,0x91,0xed] 11282bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p14, c6, [r2, #-224] @ encoding: [0x38,0x6e,0x12,0xed] 11292bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p15, c7, [r3, #-120]! @ encoding: [0x1e,0x7f,0x33,0xed] 11302bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p5, c8, [r4], #16 @ encoding: [0x04,0x85,0xb4,0xec] 11312bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldc p4, c9, [r5], #-72 @ encoding: [0x12,0x94,0x35,0xec] 11322bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p3, c10, [r6, #4] @ encoding: [0x01,0xa3,0xd6,0xed] 11332bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p2, c11, [r7] @ encoding: [0x00,0xb2,0xd7,0xed] 11342bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p1, c12, [r8, #-224] @ encoding: [0x38,0xc1,0x58,0xed] 11352bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p0, c13, [r9, #-120]! @ encoding: [0x1e,0xd0,0x79,0xed] 11362bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p6, c14, [r10], #16 @ encoding: [0x04,0xe6,0xfa,0xec] 11372bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcl p7, c15, [r11], #-72 @ encoding: [0x12,0xf7,0x7b,0xec] 11382bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 11392bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclo p12, c4, [r0, #4] @ encoding: [0x01,0x4c,0x90,0x3d] 11402bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldchi p13, c5, [r1] @ encoding: [0x00,0x5d,0x91,0x8d] 11412bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldchs p14, c6, [r2, #-224] @ encoding: [0x38,0x6e,0x12,0x2d] 11422bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclo p15, c7, [r3, #-120]! @ encoding: [0x1e,0x7f,0x33,0x3d] 11432bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldceq p5, c8, [r4], #16 @ encoding: [0x04,0x85,0xb4,0x0c] 11442bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcgt p4, c9, [r5], #-72 @ encoding: [0x12,0x94,0x35,0xcc] 11452bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcllt p3, c10, [r6, #4] @ encoding: [0x01,0xa3,0xd6,0xbd] 11462bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclge p2, c11, [r7] @ encoding: [0x00,0xb2,0xd7,0xad] 11472bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclle p1, c12, [r8, #-224] @ encoding: [0x38,0xc1,0x58,0xdd] 11482bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclne p0, c13, [r9, #-120]! @ encoding: [0x1e,0xd0,0x79,0x1d] 11492bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldcleq p6, c14, [r10], #16 @ encoding: [0x04,0xe6,0xfa,0x0c] 11502bd0118472de352745a2e038245fab4974f7c87eJim Grosbach@ CHECK: ldclhi p7, c15, [r11], #-72 @ encoding: [0x12,0xf7,0x7b,0x8c] 11512bd0118472de352745a2e038245fab4974f7c87eJim Grosbach 11529b8f2a0b365ea62a5fef80bbaab3cf0252db2fcfJim Grosbach@ CHECK: ldc2 p2, c8, [r1], {25} @ encoding: [0x19,0x82,0x91,0xfc] 11539b8f2a0b365ea62a5fef80bbaab3cf0252db2fcfJim Grosbach 11543b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 11553b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@------------------------------------------------------------------------------ 11563b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@ LDM* 11573b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@------------------------------------------------------------------------------ 11583b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldm r2, {r1,r3-r6,sp} 11593b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmia r2, {r1,r3-r6,sp} 11603b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmib r2, {r1,r3-r6,sp} 11613b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmda r2, {r1,r3-r6,sp} 11623b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmdb r2, {r1,r3-r6,sp} 11633b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmfd r2, {r1,r3-r6,sp} 11643b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 11653b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach @ with update 11663b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldm r2!, {r1,r3-r6,sp} 11673b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmib r2!, {r1,r3-r6,sp} 11683b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmda r2!, {r1,r3-r6,sp} 11693b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach ldmdb r2!, {r1,r3-r6,sp} 11703b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 117127debd60a152d39e421c57bce511f16d8439a670Jim Grosbach @ system version 117227debd60a152d39e421c57bce511f16d8439a670Jim Grosbach ldm r0, {r0, r2, lr}^ 117327debd60a152d39e421c57bce511f16d8439a670Jim Grosbach ldm sp!, {r0-r3, pc}^ 117427debd60a152d39e421c57bce511f16d8439a670Jim Grosbach 1175e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x92,0xe8] 1176e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x92,0xe8] 1177e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmib r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x92,0xe9] 1178e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmda r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x12,0xe8] 1179e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmdb r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x12,0xe9] 1180e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x92,0xe8] 1181b7110cf5b5e4832e8ded6db7ab7577e3cfa2c462Chad Rosier 1182e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm r2!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0xb2,0xe8] 1183e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmib r2!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0xb2,0xe9] 1184e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmda r2!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x32,0xe8] 1185e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldmdb r2!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x32,0xe9] 1186e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm r0, {r0, r2, lr} ^ @ encoding: [0x05,0x40,0xd0,0xe8] 1187e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: ldm sp!, {r0, r1, r2, r3, pc} ^ @ encoding: [0x0f,0x80,0xfd,0xe8] 11883b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 118936711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach 119036711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@------------------------------------------------------------------------------ 119136711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ LDREX/LDREXB/LDREXH/LDREXD 119236711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@------------------------------------------------------------------------------ 119336711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach ldrexb r3, [r4] 119436711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach ldrexh r2, [r5] 119536711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach ldrex r1, [r7] 119636711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach ldrexd r6, r7, [r8] 119736711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach 119836711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: ldrexb r3, [r4] @ encoding: [0x9f,0x3f,0xd4,0xe1] 119936711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: ldrexh r2, [r5] @ encoding: [0x9f,0x2f,0xf5,0xe1] 120036711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: ldrex r1, [r7] @ encoding: [0x9f,0x1f,0x97,0xe1] 120136711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: ldrexd r6, r7, [r8] @ encoding: [0x9f,0x6f,0xb8,0xe1] 120236711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach 120363553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson@------------------------------------------------------------------------------ 120463553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson@ LDRHT 120563553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson@------------------------------------------------------------------------------ 120663553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson ldrhthi r8, [r11], #-0 120763553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson ldrhthi r8, [r11], #0 120863553c77cd1cf3b204d955fb65350db087aaff1dOwen Anderson 12091e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach@ CHECK: ldrhthi r8, [r11], #-0 @ encoding: [0xb0,0x80,0x7b,0x80] 12101e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach@ CHECK: ldrhthi r8, [r11], #0 @ encoding: [0xb0,0x80,0xfb,0x80] 121136711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach 1212e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1213ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ LSL 1214e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1215ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsl r2, r4, #31 1216ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsl r2, r4, #1 1217ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsl r2, r4, #0 12189f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach lsl r4, #1 1219ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1220ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: lsl r2, r4, #31 @ encoding: [0x84,0x2f,0xa0,0xe1] 1221ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: lsl r2, r4, #1 @ encoding: [0x84,0x20,0xa0,0xe1] 1222ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: mov r2, r4 @ encoding: [0x04,0x20,0xa0,0xe1] 12239f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach@ CHECK: lsl r4, r4, #1 @ encoding: [0x84,0x40,0xa0,0xe1] 1224ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1225ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1226e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1227ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ LSR 1228e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1229ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsr r2, r4, #32 1230ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsr r2, r4, #2 1231ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach lsr r2, r4, #0 12329f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach lsr r4, #2 1233ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1234ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: lsr r2, r4, #32 @ encoding: [0x24,0x20,0xa0,0xe1] 1235ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: lsr r2, r4, #2 @ encoding: [0x24,0x21,0xa0,0xe1] 1236ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: mov r2, r4 @ encoding: [0x04,0x20,0xa0,0xe1] 12379f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach@ CHECK: lsr r4, r4, #2 @ encoding: [0x24,0x41,0xa0,0xe1] 1238ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1239e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach 1240e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1241e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@ MCR/MCR2 1242e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach@------------------------------------------------------------------------------ 1243e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach mcr p7, #1, r5, c1, c1, #4 1244e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach mcr2 p7, #1, r5, c1, c1, #4 1245e540c7422ca13c950f0e8f6f93af7225bb7742a9Jim Grosbach 12469c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mcr p7, #1, r5, c1, c1, #4 @ encoding: [0x91,0x57,0x21,0xee] 12479c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mcr2 p7, #1, r5, c1, c1, #4 @ encoding: [0x91,0x57,0x21,0xfe] 12483b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 1249c19bd321362166805194cbaf170e06a4790d2da9Tim Northover mcrls p7, #1, r5, c1, c1, #4 1250c19bd321362166805194cbaf170e06a4790d2da9Tim Northover@ CHECK: mcrls p7, #1, r5, c1, c1, #4 @ encoding: [0x91,0x57,0x21,0x9e] 1251c19bd321362166805194cbaf170e06a4790d2da9Tim Northover 12523b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@------------------------------------------------------------------------------ 1253c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach@ MCRR/MCRR2 1254c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach@------------------------------------------------------------------------------ 1255c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach mcrr p7, #15, r5, r4, c1 1256c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach mcrr2 p7, #15, r5, r4, c1 1257c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach 12589c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mcrr p7, #15, r5, r4, c1 @ encoding: [0xf1,0x57,0x44,0xec] 12599c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mcrr2 p7, #15, r5, r4, c1 @ encoding: [0xf1,0x57,0x44,0xfc] 1260c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach 1261c19bd321362166805194cbaf170e06a4790d2da9Tim Northover mcrrgt p7, #15, r5, r4, c1 1262c19bd321362166805194cbaf170e06a4790d2da9Tim Northover@ CHECK: mcrrgt p7, #15, r5, r4, c1 @ encoding: [0xf1,0x57,0x44,0xcc] 126370d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach 126470d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@------------------------------------------------------------------------------ 126570d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@ MLA 126670d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@------------------------------------------------------------------------------ 126770d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mla r1,r2,r3,r4 126870d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mlas r1,r2,r3,r4 126970d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mlane r1,r2,r3,r4 127070d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mlasne r1,r2,r3,r4 127170d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach 12729c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mla r1, r2, r3, r4 @ encoding: [0x92,0x43,0x21,0xe0] 12739c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mlas r1, r2, r3, r4 @ encoding: [0x92,0x43,0x31,0xe0] 12749c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mlane r1, r2, r3, r4 @ encoding: [0x92,0x43,0x21,0x10] 12759c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mlasne r1, r2, r3, r4 @ encoding: [0x92,0x43,0x31,0x10] 127670d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach 127770d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@------------------------------------------------------------------------------ 127870d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@ MLS 127970d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@------------------------------------------------------------------------------ 128070d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mls r2,r5,r6,r3 128170d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach mlsne r2,r5,r6,r3 128270d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach 128370d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@ CHECK: mls r2, r5, r6, r3 @ encoding: [0x95,0x36,0x62,0xe0] 128470d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach@ CHECK: mlsne r2, r5, r6, r3 @ encoding: [0x95,0x36,0x62,0x10] 128570d8fcfaa04eb20541b006a8fb97cbc1d3033cc4Jim Grosbach 1286c8ae39e746a20dc326def0ccfc052df3e21f16d3Jim Grosbach@------------------------------------------------------------------------------ 1287ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ MOV (immediate) 1288ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@------------------------------------------------------------------------------ 12891e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mov r3, #7 1290ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r3, $7 1291ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r3, 7 1292ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r3, -7 12931e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mov r4, #0xff0 12941e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mov r5, #0xff0000 1295ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #42, #0 1296ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #42, #10 1297ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #(0xff << 16) 1298ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #-2147483638 1299ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #42, #2 1300ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov pc, #42, #2 1301ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #0, #2 1302ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #40, #2 1303ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, $40, $2 1304ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, 40, 2 1305ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, (2 * 20), (1 << 1) 1306ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mov r7, #42, #30 13071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mov r6, #0xffff 13081e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movw r9, #0xffff 13091e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movs r3, #7 13101e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach moveq r4, #0xff0 13111e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movseq r5, #0xff0000 1312ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach 1313ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ CHECK: mov r3, #7 @ encoding: [0x07,0x30,0xa0,0xe3] 1314ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r3, #7 @ encoding: [0x07,0x30,0xa0,0xe3] 1315ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r3, #7 @ encoding: [0x07,0x30,0xa0,0xe3] 1316ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r3, #6 @ encoding: [0x06,0x30,0xe0,0xe3] 1317ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ CHECK: mov r4, #4080 @ encoding: [0xff,0x4e,0xa0,0xe3] 1318ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ CHECK: mov r5, #16711680 @ encoding: [0xff,0x58,0xa0,0xe3] 1319ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #42 @ encoding: [0x2a,0x70,0xa0,0xe3] 1320ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #176160768 @ encoding: [0x2a,0x75,0xa0,0xe3] 1321ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #16711680 @ encoding: [0xff,0x78,0xa0,0xe3] 1322ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #-2147483638 @ encoding: [0x2a,0x71,0xa0,0xe3] 1323ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #-2147483638 @ encoding: [0x2a,0x71,0xa0,0xe3] 1324ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov pc, #2147483658 @ encoding: [0x2a,0xf1,0xa0,0xe3] 1325ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #0, #2 @ encoding: [0x00,0x71,0xa0,0xe3] 1326ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #40, #2 @ encoding: [0x28,0x71,0xa0,0xe3] 1327ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #40, #2 @ encoding: [0x28,0x71,0xa0,0xe3] 1328ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #40, #2 @ encoding: [0x28,0x71,0xa0,0xe3] 1329ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #40, #2 @ encoding: [0x28,0x71,0xa0,0xe3] 1330ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r7, #42, #30 @ encoding: [0x2a,0x7f,0xa0,0xe3] 1331ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ CHECK: movw r6, #65535 @ encoding: [0xff,0x6f,0x0f,0xe3] 1332ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@ CHECK: movw r9, #65535 @ encoding: [0xff,0x9f,0x0f,0xe3] 13335f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: movs r3, #7 @ encoding: [0x07,0x30,0xb0,0xe3] 13345f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: moveq r4, #4080 @ encoding: [0xff,0x4e,0xa0,0x03] 13355f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: movseq r5, #16711680 @ encoding: [0xff,0x58,0xb0,0x03] 13365f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach 13375f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@------------------------------------------------------------------------------ 13385f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ MOV (register) 13395f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@------------------------------------------------------------------------------ 13405f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach mov r2, r3 13415f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach movs r2, r3 13425f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach moveq r2, r3 13435f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach movseq r2, r3 134404b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach mov r12, r8, lsl #(2 - 2) 134504b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach lsl r2, r3, #(2 - 2) 134604b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach mov r12, r8, lsr #(2 - 2) 134704b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach lsr r2, r3, #(2 - 2) 134804b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach mov r12, r8, asr #(2 - 2) 134904b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach asr r2, r3, #(2 - 2) 135004b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach mov r12, r8, ror #(2 - 2) 135104b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach ror r2, r3, #(2 - 2) 13525f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach 13535f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: mov r2, r3 @ encoding: [0x03,0x20,0xa0,0xe1] 13545f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: movs r2, r3 @ encoding: [0x03,0x20,0xb0,0xe1] 13555f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: moveq r2, r3 @ encoding: [0x03,0x20,0xa0,0x01] 13565f16057d1e4b711d492091bc555693a03d4a1b6eJim Grosbach@ CHECK: movseq r2, r3 @ encoding: [0x03,0x20,0xb0,0x01] 135704b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r12, r8 @ encoding: [0x08,0xc0,0xa0,0xe1] 135804b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r2, r3 @ encoding: [0x03,0x20,0xa0,0xe1] 135904b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r12, r8 @ encoding: [0x08,0xc0,0xa0,0xe1] 136004b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r2, r3 @ encoding: [0x03,0x20,0xa0,0xe1] 136104b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r12, r8 @ encoding: [0x08,0xc0,0xa0,0xe1] 136204b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r2, r3 @ encoding: [0x03,0x20,0xa0,0xe1] 136304b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r12, r8 @ encoding: [0x08,0xc0,0xa0,0xe1] 136404b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach@ CHECK: mov r2, r3 @ encoding: [0x03,0x20,0xa0,0xe1] 136504b5d93250bef585631a583a85f6733b1bdc8c52Jim Grosbach 1366ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach 1367ffa3225e26cc1977d20f0d9649fcd6f38a3c4815Jim Grosbach@------------------------------------------------------------------------------ 13681a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@ MOVT 13691a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@------------------------------------------------------------------------------ 13701e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movt r3, #7 13711e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movt r6, #0xffff 13721e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach movteq r4, #0xff0 13731a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach 13741a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@ CHECK: movt r3, #7 @ encoding: [0x07,0x30,0x40,0xe3] 13751a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@ CHECK: movt r6, #65535 @ encoding: [0xff,0x6f,0x4f,0xe3] 13761a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@ CHECK: movteq r4, #4080 @ encoding: [0xf0,0x4f,0x40,0x03] 13771a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach 13782317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach 13792317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@------------------------------------------------------------------------------ 13802317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@ MRC/MRC2 13812317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@------------------------------------------------------------------------------ 13822317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach mrc p14, #0, r1, c1, c2, #4 1383f86e436fb95670ed110818fefa403f21ae104639Mihai Popa mrc p15, #7, apsr_nzcv, c15, c6, #6 13842317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach mrc2 p14, #0, r1, c1, c2, #4 13851b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov mrc2 p9, #7, apsr_nzcv, c15, c0, #1 1386f86e436fb95670ed110818fefa403f21ae104639Mihai Popa 1387f86e436fb95670ed110818fefa403f21ae104639Mihai Popa@ CHECK: mrc p14, #0, r1, c1, c2, #4 @ encoding: [0x92,0x1e,0x11,0xee] 1388f86e436fb95670ed110818fefa403f21ae104639Mihai Popa@ CHECK: mrc p15, #7, apsr_nzcv, c15, c6, #6 @ encoding: [0xd6,0xff,0xff,0xee] 1389f86e436fb95670ed110818fefa403f21ae104639Mihai Popa@ CHECK: mrc2 p14, #0, r1, c1, c2, #4 @ encoding: [0x92,0x1e,0x11,0xfe] 13901b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: mrc2 p9, #7, apsr_nzcv, c15, c0, #1 @ encoding: [0x30,0xf9,0xff,0xfe] 13912317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach 13924a378b95aa0f24ba461e512608b8aaeaa803996fMihai Popa mrceq p15, #7, apsr_nzcv, c15, c6, #6 13934a378b95aa0f24ba461e512608b8aaeaa803996fMihai Popa@ CHECK: mrceq p15, #7, apsr_nzcv, c15, c6, #6 @ encoding: [0xd6,0xff,0xff,0x0e] 1394c19bd321362166805194cbaf170e06a4790d2da9Tim Northover 13952317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@------------------------------------------------------------------------------ 13962317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@ MRRC/MRRC2 13972317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@------------------------------------------------------------------------------ 13982317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach mrrc p7, #1, r5, r4, c1 13992317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach mrrc2 p7, #1, r5, r4, c1 14002317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach 14012317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@ CHECK: mrrc p7, #1, r5, r4, c1 @ encoding: [0x11,0x57,0x54,0xec] 14022317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach@ CHECK: mrrc2 p7, #1, r5, r4, c1 @ encoding: [0x11,0x57,0x54,0xfc] 14032317fe1584e02582c616c1c4d15954999ff5525aJim Grosbach 1404c19bd321362166805194cbaf170e06a4790d2da9Tim Northover mrrclo p7, #1, r5, r4, c1 1405c19bd321362166805194cbaf170e06a4790d2da9Tim Northover@ CHECK: mrrclo p7, #1, r5, r4, c1 @ encoding: [0x11,0x57,0x54,0x3c] 140680d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach 140780d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach@------------------------------------------------------------------------------ 140880d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach@ MRS 140980d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach@------------------------------------------------------------------------------ 141080d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach mrs r8, apsr 141180d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach mrs r8, cpsr 141280d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach mrs r8, spsr 14139c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mrs r8, apsr @ encoding: [0x00,0x80,0x0f,0xe1] 14149c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mrs r8, apsr @ encoding: [0x00,0x80,0x0f,0xe1] 14159c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: mrs r8, spsr @ encoding: [0x00,0x80,0x4f,0xe1] 141680d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach 141780d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach 141880d01dd3d19a84621324ac444c6749602df7a513Jim Grosbach 14191a2be4db5b12cb7bfa351bcebd5e94b0decb021fJim Grosbach@------------------------------------------------------------------------------ 1420b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@ MSR 1421b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@------------------------------------------------------------------------------ 1422b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach 1423b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr, #5 1424ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr apsr, $5 1425ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr apsr, 5 1426b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_g, #5 1427b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_nzcvq, #5 1428b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr APSR_nzcvq, #5 1429b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_nzcvqg, #5 1430b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fc, #5 1431b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_c, #5 1432b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_x, #5 1433b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fc, #5 1434b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_all, #5 1435b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fsx, #5 1436b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr spsr_fc, #5 1437b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr SPSR_fsxc, #5 1438b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fsxc, #5 1439ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr apsr_nzcvqg, #(0xff << 16) 1440ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr APSR_nzcvq, #42, #2 1441ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr apsr_nzcvqg, #2147483658 1442ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr SPSR_fsxc, #40, #2 1443ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr SPSR_fsxc, $40, $2 1444ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr SPSR_fsxc, 40, 2 1445ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines msr SPSR_fsxc, (2 * 20), (1 << 1) 1446b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach 1447bf841cf3360558d2939c9f1a244a7a7296f846dfJim Grosbach@ CHECK: msr APSR_nzcvq, #5 @ encoding: [0x05,0xf0,0x28,0xe3] 1448ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr APSR_nzcvq, #5 @ encoding: [0x05,0xf0,0x28,0xe3] 1449ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr APSR_nzcvq, #5 @ encoding: [0x05,0xf0,0x28,0xe3] 1450b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@ CHECK: msr APSR_g, #5 @ encoding: [0x05,0xf0,0x24,0xe3] 1451b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@ CHECK: msr APSR_nzcvq, #5 @ encoding: [0x05,0xf0,0x28,0xe3] 1452b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@ CHECK: msr APSR_nzcvq, #5 @ encoding: [0x05,0xf0,0x28,0xe3] 1453b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@ CHECK: msr APSR_nzcvqg, #5 @ encoding: [0x05,0xf0,0x2c,0xe3] 1454cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, #5 @ encoding: [0x05,0xf0,0x29,0xe3] 1455cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_c, #5 @ encoding: [0x05,0xf0,0x21,0xe3] 1456cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_x, #5 @ encoding: [0x05,0xf0,0x22,0xe3] 1457cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, #5 @ encoding: [0x05,0xf0,0x29,0xe3] 1458cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, #5 @ encoding: [0x05,0xf0,0x29,0xe3] 1459cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fsx, #5 @ encoding: [0x05,0xf0,0x2e,0xe3] 1460cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr SPSR_fc, #5 @ encoding: [0x05,0xf0,0x69,0xe3] 1461cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr SPSR_fsxc, #5 @ encoding: [0x05,0xf0,0x6f,0xe3] 1462cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fsxc, #5 @ encoding: [0x05,0xf0,0x2f,0xe3] 1463ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr APSR_nzcvqg, #16711680 @ encoding: [0xff,0xf8,0x2c,0xe3] 1464ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr APSR_nzcvq, #2147483658 @ encoding: [0x2a,0xf1,0x28,0xe3] 1465ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr APSR_nzcvqg, #2147483658 @ encoding: [0x2a,0xf1,0x2c,0xe3] 1466ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr SPSR_fsxc, #40, #2 @ encoding: [0x28,0xf1,0x6f,0xe3] 1467ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr SPSR_fsxc, #40, #2 @ encoding: [0x28,0xf1,0x6f,0xe3] 1468ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr SPSR_fsxc, #40, #2 @ encoding: [0x28,0xf1,0x6f,0xe3] 1469ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: msr SPSR_fsxc, #40, #2 @ encoding: [0x28,0xf1,0x6f,0xe3] 1470b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach 1471b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr, r0 1472b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_g, r0 1473b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_nzcvq, r0 1474b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr APSR_nzcvq, r0 1475b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr apsr_nzcvqg, r0 1476b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fc, r0 1477b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_c, r0 1478b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_x, r0 1479b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fc, r0 1480b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_all, r0 1481b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fsx, r0 1482b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr spsr_fc, r0 1483b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr SPSR_fsxc, r0 1484b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach msr cpsr_fsxc, r0 1485b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach 14869c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: msr APSR_nzcvq, r0 @ encoding: [0x00,0xf0,0x28,0xe1] 14879c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: msr APSR_g, r0 @ encoding: [0x00,0xf0,0x24,0xe1] 14889c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: msr APSR_nzcvq, r0 @ encoding: [0x00,0xf0,0x28,0xe1] 14899c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: msr APSR_nzcvq, r0 @ encoding: [0x00,0xf0,0x28,0xe1] 14909c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: msr APSR_nzcvqg, r0 @ encoding: [0x00,0xf0,0x2c,0xe1] 1491cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, r0 @ encoding: [0x00,0xf0,0x29,0xe1] 1492cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_c, r0 @ encoding: [0x00,0xf0,0x21,0xe1] 1493cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_x, r0 @ encoding: [0x00,0xf0,0x22,0xe1] 1494cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, r0 @ encoding: [0x00,0xf0,0x29,0xe1] 1495cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fc, r0 @ encoding: [0x00,0xf0,0x29,0xe1] 1496cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fsx, r0 @ encoding: [0x00,0xf0,0x2e,0xe1] 1497cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr SPSR_fc, r0 @ encoding: [0x00,0xf0,0x69,0xe1] 1498cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr SPSR_fsxc, r0 @ encoding: [0x00,0xf0,0x6f,0xe1] 1499cd20c58e980552daef182247005cf905fe8b06baOwen Anderson@ CHECK: msr CPSR_fsxc, r0 @ encoding: [0x00,0xf0,0x2f,0xe1] 1500b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach 1501b29b4dd988c50d5c4a15cd196e7910bf46f30b83Jim Grosbach@------------------------------------------------------------------------------ 1502ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@ MUL 1503ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@------------------------------------------------------------------------------ 15041e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mul r5, r6, r7 15051e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach muls r5, r6, r7 15061e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mulgt r5, r6, r7 15071e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mulsle r5, r6, r7 1508d2586daf069f480e924cd7dd2079dd39de331541Jim Grosbach mul r11, r5 1509ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach 1510ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@ CHECK: mul r5, r6, r7 @ encoding: [0x96,0x07,0x05,0xe0] 1511ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@ CHECK: muls r5, r6, r7 @ encoding: [0x96,0x07,0x15,0xe0] 1512ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@ CHECK: mulgt r5, r6, r7 @ encoding: [0x96,0x07,0x05,0xc0] 1513ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@ CHECK: mulsle r5, r6, r7 @ encoding: [0x96,0x07,0x15,0xd0] 1514ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach 1515c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1516c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 1517c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ MVN (immediate) 1518c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 15191e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvn r3, #7 1520ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r3, $7 1521ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r3, 7 1522ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r3, -7 1523ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, #~0xffffff00 15241e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvn r4, #0xff0 15251e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvn r5, #0xff0000 1526ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, #(0xff << 16) 1527ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, #-2147483638 1528ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, #42, #2 1529ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, #40, #2 1530ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, $40, $2 1531ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, 40, 2 1532ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines mvn r7, (2 * 20), (1 << 1) 15331e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvns r3, #7 15341e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvneq r4, #0xff0 15351e0fff17f3182a2bef5e06cca996a8d16e53cb46Jim Grosbach mvnseq r5, #0xff0000 1536c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1537c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r3, #7 @ encoding: [0x07,0x30,0xe0,0xe3] 1538ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r3, #7 @ encoding: [0x07,0x30,0xe0,0xe3] 1539ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r3, #7 @ encoding: [0x07,0x30,0xe0,0xe3] 1540ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mov r3, #6 @ encoding: [0x06,0x30,0xa0,0xe3] 1541ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #255 @ encoding: [0xff,0x70,0xe0,0xe3] 1542c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r4, #4080 @ encoding: [0xff,0x4e,0xe0,0xe3] 1543c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, #16711680 @ encoding: [0xff,0x58,0xe0,0xe3] 1544ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #16711680 @ encoding: [0xff,0x78,0xe0,0xe3] 1545ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #-2147483638 @ encoding: [0x2a,0x71,0xe0,0xe3] 1546ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #-2147483638 @ encoding: [0x2a,0x71,0xe0,0xe3] 1547ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #40, #2 @ encoding: [0x28,0x71,0xe0,0xe3] 1548ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #40, #2 @ encoding: [0x28,0x71,0xe0,0xe3] 1549ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #40, #2 @ encoding: [0x28,0x71,0xe0,0xe3] 1550ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: mvn r7, #40, #2 @ encoding: [0x28,0x71,0xe0,0xe3] 1551c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvns r3, #7 @ encoding: [0x07,0x30,0xf0,0xe3] 1552c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvneq r4, #4080 @ encoding: [0xff,0x4e,0xe0,0x03] 1553c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvnseq r5, #16711680 @ encoding: [0xff,0x58,0xf0,0x03] 1554c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1555c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1556c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 1557c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ MVN (register) 1558c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 1559c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r2, r3 1560c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvns r2, r3 1561c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, lsl #19 1562c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, lsr #9 1563c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, asr #4 1564c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, ror #6 1565c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, rrx 1566c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvneq r2, r3 1567c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvnseq r2, r3, lsl #10 1568c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1569c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r2, r3 @ encoding: [0x03,0x20,0xe0,0xe1] 1570c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvns r2, r3 @ encoding: [0x03,0x20,0xf0,0xe1] 1571c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, lsl #19 @ encoding: [0x86,0x59,0xe0,0xe1] 1572c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, lsr #9 @ encoding: [0xa6,0x54,0xe0,0xe1] 1573c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, asr #4 @ encoding: [0x46,0x52,0xe0,0xe1] 1574c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, ror #6 @ encoding: [0x66,0x53,0xe0,0xe1] 1575c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, rrx @ encoding: [0x66,0x50,0xe0,0xe1] 1576c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvneq r2, r3 @ encoding: [0x03,0x20,0xe0,0x01] 1577c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvnseq r2, r3, lsl #10 @ encoding: [0x03,0x25,0xf0,0x01] 1578c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1579c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1580c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 1581c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ MVN (shifted register) 1582c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@------------------------------------------------------------------------------ 1583c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvn r5, r6, lsl r7 1584c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvns r5, r6, lsr r7 1585c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvngt r5, r6, asr r7 1586c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach mvnslt r5, r6, ror r7 1587c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1588c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvn r5, r6, lsl r7 @ encoding: [0x16,0x57,0xe0,0xe1] 1589c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvns r5, r6, lsr r7 @ encoding: [0x36,0x57,0xf0,0xe1] 1590c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvngt r5, r6, asr r7 @ encoding: [0x56,0x57,0xe0,0xc1] 1591c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach@ CHECK: mvnslt r5, r6, ror r7 @ encoding: [0x76,0x57,0xf0,0xb1] 1592c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1593a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach@------------------------------------------------------------------------------ 1594e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach@ NEG 1595e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach@------------------------------------------------------------------------------ 1596e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach neg r5, r8 1597e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach 1598e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach@ CHECK: rsb r5, r8, #0 @ encoding: [0x00,0x50,0x68,0xe2] 1599e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach 1600e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach 1601e91e7bcadc445381adef5c5154e8e2cba074505fJim Grosbach@------------------------------------------------------------------------------ 1602a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach@ NOP 1603a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach@------------------------------------------------------------------------------ 1604a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach nop 1605bf811d602d1d81b93846c6cbbd1cec85f2f153cbKevin Enderby nop.w 1606a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach nopgt 1607a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach 1608a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach@ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] 1609bf811d602d1d81b93846c6cbbd1cec85f2f153cbKevin Enderby@ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] 1610a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach@ CHECK: nopgt @ encoding: [0x00,0xf0,0x20,0xc3] 1611a67851445902d1fc01fa2a37a3dfc347af949f84Jim Grosbach 1612c3635c2e928a7ecde11398ff272411f6dea2dcd2Jim Grosbach 1613ab40f4b737b0a87c4048a9ad2f0c02be735e3770Jim Grosbach@------------------------------------------------------------------------------ 161488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ ORR 161588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@------------------------------------------------------------------------------ 161688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, #0xf000 1617ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r4, r5, $0xf000 1618ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r4, r5, 0xf000 1619ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, #(0xff << 16) 1620ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, #-2147483638 1621ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, #42, #2 1622ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, #40, #2 1623ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, $40, $2 1624ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, 40, 2 1625ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, r8, (2 * 20), (1 << 1) 162688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6 162788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, lsl #5 162888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, lsr #5 162988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, lsr #5 163088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, asr #5 163188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, ror #5 163288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, r8, lsl r9 163388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, r8, lsr r9 163488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, r8, asr r9 163588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, r8, ror r9 163688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, r6, rrx 163788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 163888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach @ destination register is optional 163988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r5, #0xf000 1640ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r5, $0xf000 1641ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r5, 0xf000 1642ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 1643ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, #(0xff << 16) 1644ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, #-2147483638 1645ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, #42, #2 1646ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, #40, #2 1647ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, $40, $2 1648ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, 40, 2 1649ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines orr r7, (2 * 20), (1 << 1) 1650ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 165188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5 165288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, lsl #5 165388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, lsr #5 165488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, lsr #5 165588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, asr #5 165688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, ror #5 165788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, lsl r9 165888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, lsr r9 165988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, asr r9 166088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r6, r7, ror r9 166188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orr r4, r5, rrx 166288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 166388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe3] 1664ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe3] 1665ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r4, r5, #61440 @ encoding: [0x0f,0x4a,0x85,0xe3] 1666ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #16711680 @ encoding: [0xff,0x78,0x88,0xe3] 1667ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x88,0xe3] 1668ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x88,0xe3] 1669ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe3] 1670ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe3] 1671ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe3] 1672ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r8, #40, #2 @ encoding: [0x28,0x71,0x88,0xe3] 167388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6 @ encoding: [0x06,0x40,0x85,0xe1] 167488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x85,0xe1] 167588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x85,0xe1] 167688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x85,0xe1] 167788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0x85,0xe1] 167888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0x85,0xe1] 167988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0x87,0xe1] 168088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0x87,0xe1] 168188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0x87,0xe1] 168288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x87,0xe1] 168388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r5, r6, rrx @ encoding: [0x66,0x40,0x85,0xe1] 168488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 168588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe3] 1686ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe3] 1687ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0xe3] 1688ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #16711680 @ encoding: [0xff,0x78,0x87,0xe3] 1689ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x87,0xe3] 1690ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x87,0xe3] 1691ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe3] 1692ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe3] 1693ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe3] 1694ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: orr r7, r7, #40, #2 @ encoding: [0x28,0x71,0x87,0xe3] 169588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5 @ encoding: [0x05,0x40,0x84,0xe1] 169688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0x84,0xe1] 169788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x84,0xe1] 169888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x84,0xe1] 169988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0x84,0xe1] 170088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0x84,0xe1] 170188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0x86,0xe1] 170288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0x86,0xe1] 170388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x86,0xe1] 170488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x86,0xe1] 170588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orr r4, r4, r5, rrx @ encoding: [0x65,0x40,0x84,0xe1] 170688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 170788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrseq r4, r5, #0xf000 170888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrne r4, r5, r6 170988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrseq r4, r5, r6, lsl #5 171088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrlo r6, r7, r8, ror r9 171188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrshi r4, r5, r6, rrx 171288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrcs r5, #0xf000 171388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrseq r4, r5 171488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrne r6, r7, asr r9 171588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrslt r6, r7, ror r9 171688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach orrsgt r4, r5, rrx 171788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 171888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrseq r4, r5, #61440 @ encoding: [0x0f,0x4a,0x95,0x03] 171988d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrne r4, r5, r6 @ encoding: [0x06,0x40,0x85,0x11] 172088d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrseq r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x95,0x01] 172188d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrlo r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x87,0x31] 172288d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrshi r4, r5, r6, rrx @ encoding: [0x66,0x40,0x95,0x81] 172388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrhs r5, r5, #61440 @ encoding: [0x0f,0x5a,0x85,0x23] 172488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrseq r4, r4, r5 @ encoding: [0x05,0x40,0x94,0x01] 172588d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrne r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x86,0x11] 172688d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrslt r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x96,0xb1] 172788d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@ CHECK: orrsgt r4, r4, r5, rrx @ encoding: [0x65,0x40,0x94,0xc1] 172888d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 17298ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 17308ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton orr r3, r1, r2, lsr #32 17318ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton orr r3, r1, r2, asr #32 17328ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: orr r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0x81,0xe1] 17338ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: orr r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0x81,0xe1] 17348ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton 173561b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@------------------------------------------------------------------------------ 173661b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ PKH 173761b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@------------------------------------------------------------------------------ 173861b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhbt r2, r2, r3 173961b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhbt r2, r2, r3, lsl #31 174061b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhbt r2, r2, r3, lsl #0 174161b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhbt r2, r2, r3, lsl #15 174261b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach 174361b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhtb r2, r2, r3 174461b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhtb r2, r2, r3, asr #31 174561b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach pkhtb r2, r2, r3, asr #15 174661b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach 174761b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhbt r2, r2, r3 @ encoding: [0x13,0x20,0x82,0xe6] 174861b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhbt r2, r2, r3, lsl #31 @ encoding: [0x93,0x2f,0x82,0xe6] 174961b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhbt r2, r2, r3 @ encoding: [0x13,0x20,0x82,0xe6] 175061b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhbt r2, r2, r3, lsl #15 @ encoding: [0x93,0x27,0x82,0xe6] 175161b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach 175261b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhbt r2, r2, r3 @ encoding: [0x13,0x20,0x82,0xe6] 175361b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhtb r2, r2, r3, asr #31 @ encoding: [0xd3,0x2f,0x82,0xe6] 175461b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach@ CHECK: pkhtb r2, r2, r3, asr #15 @ encoding: [0xd3,0x27,0x82,0xe6] 175561b1b21e9ad2b8af163a352766eeb159979f4ff2Jim Grosbach 175610c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 175710c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ FIXME: PLD 175810c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 175910c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 176010c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ FIXME: PLI 176110c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 176210c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 176310c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 176410c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 176510c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ POP 176610c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 176710c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach pop {r7} 176810c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach pop {r7, r8, r9, r10} 176910c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 1770f8fce711e8b756adca63044f7d122648c960ab96Jim Grosbach@ CHECK: pop {r7} @ encoding: [0x04,0x70,0x9d,0xe4] 177110c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ CHECK: pop {r7, r8, r9, r10} @ encoding: [0x80,0x07,0xbd,0xe8] 177210c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 177310c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 177410c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 177510c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ PUSH 177610c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@------------------------------------------------------------------------------ 177710c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach push {r7} 177810c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach push {r7, r8, r9, r10} 177910c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 1780f6713916fb4504aab617f0e317689acd878cc37fJim Grosbach@ CHECK: push {r7} @ encoding: [0x04,0x70,0x2d,0xe5] 178110c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach@ CHECK: push {r7, r8, r9, r10} @ encoding: [0x80,0x07,0x2d,0xe9] 178210c7d70a4e843b3006db9f5f583d6f6f56cc245eJim Grosbach 178388d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach 178488d1bc832ca5b458c8460929227be8eae6c6bdc3Jim Grosbach@------------------------------------------------------------------------------ 1785a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ QADD/QADD16/QADD8 1786a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1787a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qadd r1, r2, r3 1788a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qaddne r1, r2, r3 1789a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qadd16 r1, r2, r3 1790a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qadd16gt r1, r2, r3 1791a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qadd8 r1, r2, r3 1792a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qadd8le r1, r2, r3 1793a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1794a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qadd r1, r2, r3 @ encoding: [0x52,0x10,0x03,0xe1] 1795a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qaddne r1, r2, r3 @ encoding: [0x52,0x10,0x03,0x11] 1796a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qadd16 r1, r2, r3 @ encoding: [0x13,0x1f,0x22,0xe6] 1797a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qadd16gt r1, r2, r3 @ encoding: [0x13,0x1f,0x22,0xc6] 1798a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qadd8 r1, r2, r3 @ encoding: [0x93,0x1f,0x22,0xe6] 1799a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qadd8le r1, r2, r3 @ encoding: [0x93,0x1f,0x22,0xd6] 1800a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1801a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1802a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1803a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ QDADD/QDSUB 1804a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1805a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qdadd r6, r7, r8 1806a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qdaddhi r6, r7, r8 1807a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qdsub r6, r7, r8 1808a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qdsubhi r6, r7, r8 1809a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1810a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qdadd r6, r7, r8 @ encoding: [0x57,0x60,0x48,0xe1] 1811a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qdaddhi r6, r7, r8 @ encoding: [0x57,0x60,0x48,0x81] 1812a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qdsub r6, r7, r8 @ encoding: [0x57,0x60,0x68,0xe1] 1813a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qdsubhi r6, r7, r8 @ encoding: [0x57,0x60,0x68,0x81] 1814a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1815a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1816a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1817a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ QSAX 1818a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1819a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsax r9, r12, r0 1820a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsaxeq r9, r12, r0 1821a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1822a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsax r9, r12, r0 @ encoding: [0x50,0x9f,0x2c,0xe6] 1823a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsaxeq r9, r12, r0 @ encoding: [0x50,0x9f,0x2c,0x06] 1824a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1825a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1826a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 182741438398c13be01ec53c3ad6b08a6cab47e96735Jim Grosbach@ QSUB/QSUB16/QSUB8 1828a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1829a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsub r1, r2, r3 1830a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsubne r1, r2, r3 1831a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsub16 r1, r2, r3 1832a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsub16gt r1, r2, r3 1833a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsub8 r1, r2, r3 1834a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach qsub8le r1, r2, r3 1835a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1836a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsub r1, r2, r3 @ encoding: [0x52,0x10,0x23,0xe1] 1837a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsubne r1, r2, r3 @ encoding: [0x52,0x10,0x23,0x11] 1838a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsub16 r1, r2, r3 @ encoding: [0x73,0x1f,0x22,0xe6] 1839a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsub16gt r1, r2, r3 @ encoding: [0x73,0x1f,0x22,0xc6] 1840a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsub8 r1, r2, r3 @ encoding: [0xf3,0x1f,0x22,0xe6] 1841a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@ CHECK: qsub8le r1, r2, r3 @ encoding: [0xf3,0x1f,0x22,0xd6] 1842a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1843a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach 1844a4c34ab54485f64d3b962a499526825a7a0d4bbcJim Grosbach@------------------------------------------------------------------------------ 1845616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ RBIT 1846616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@------------------------------------------------------------------------------ 1847616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach rbit r1, r2 1848616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach rbitne r1, r2 1849616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1850616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: rbit r1, r2 @ encoding: [0x32,0x1f,0xff,0xe6] 1851616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: rbitne r1, r2 @ encoding: [0x32,0x1f,0xff,0x16] 1852616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1853616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1854616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@------------------------------------------------------------------------------ 1855616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ REV/REV16/REVSH 1856616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@------------------------------------------------------------------------------ 1857616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach rev r1, r9 1858616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach revne r1, r5 1859616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach rev16 r8, r3 1860616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach rev16ne r12, r4 1861616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach revsh r4, r9 1862616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach revshne r9, r1 1863616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1864616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: rev r1, r9 @ encoding: [0x39,0x1f,0xbf,0xe6] 1865616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: revne r1, r5 @ encoding: [0x35,0x1f,0xbf,0x16] 1866616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: rev16 r8, r3 @ encoding: [0xb3,0x8f,0xbf,0xe6] 1867616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: rev16ne r12, r4 @ encoding: [0xb4,0xcf,0xbf,0x16] 1868616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: revsh r4, r9 @ encoding: [0xb9,0x4f,0xff,0xe6] 1869616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@ CHECK: revshne r9, r1 @ encoding: [0xb1,0x9f,0xff,0x16] 1870616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1871616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach 1872616fbdf987170addd0d8f75f4fd677589d54cd75Jim Grosbach@------------------------------------------------------------------------------ 18732c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ RFE 18742c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@------------------------------------------------------------------------------ 18752c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeda r2 18762c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfedb r3 18772c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeia r5 18782c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeib r6 18792c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 18802c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeda r4! 18812c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfedb r7! 18822c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeia r9! 18832c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeib r8! 18842c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 18852c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfefa r2 18862c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeea r3 18872c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfefd r5 18882c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeed r6 18892c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 18902c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfefa r4! 18912c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeea r7! 18922c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfefd r9! 18932c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfeed r8! 18942c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 18952c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfe r1 18962c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach rfe r1! 18972c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 18982c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeda r2 @ encoding: [0x00,0x0a,0x12,0xf8] 18992c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfedb r3 @ encoding: [0x00,0x0a,0x13,0xf9] 19002c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r5 @ encoding: [0x00,0x0a,0x95,0xf8] 19012c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeib r6 @ encoding: [0x00,0x0a,0x96,0xf9] 19022c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19032c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeda r4! @ encoding: [0x00,0x0a,0x34,0xf8] 19042c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfedb r7! @ encoding: [0x00,0x0a,0x37,0xf9] 19052c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r9! @ encoding: [0x00,0x0a,0xb9,0xf8] 19062c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeib r8! @ encoding: [0x00,0x0a,0xb8,0xf9] 19072c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19082c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeda r2 @ encoding: [0x00,0x0a,0x12,0xf8] 19092c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfedb r3 @ encoding: [0x00,0x0a,0x13,0xf9] 19102c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r5 @ encoding: [0x00,0x0a,0x95,0xf8] 19112c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeib r6 @ encoding: [0x00,0x0a,0x96,0xf9] 19122c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19132c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeda r4! @ encoding: [0x00,0x0a,0x34,0xf8] 19142c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfedb r7! @ encoding: [0x00,0x0a,0x37,0xf9] 19152c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r9! @ encoding: [0x00,0x0a,0xb9,0xf8] 19162c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeib r8! @ encoding: [0x00,0x0a,0xb8,0xf9] 19172c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19182c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r1 @ encoding: [0x00,0x0a,0x91,0xf8] 19192c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@ CHECK: rfeia r1! @ encoding: [0x00,0x0a,0xb1,0xf8] 19202c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19212c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach 19222c6363a62df95b74468d9a561bbcb9edddeb3507Jim Grosbach@------------------------------------------------------------------------------ 1923ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ ROR 1924ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@------------------------------------------------------------------------------ 1925ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach ror r2, r4, #31 1926ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach ror r2, r4, #1 1927ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach ror r2, r4, #0 19289f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach ror r4, #1 1929ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1930ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: ror r2, r4, #31 @ encoding: [0xe4,0x2f,0xa0,0xe1] 1931ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: ror r2, r4, #1 @ encoding: [0xe4,0x20,0xa0,0xe1] 1932ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@ CHECK: mov r2, r4 @ encoding: [0x04,0x20,0xa0,0xe1] 19339f302c4fb3feeb36561a6eee0168ee5242d8ac20Jim Grosbach@ CHECK: ror r4, r4, #1 @ encoding: [0xe4,0x40,0xa0,0xe1] 1934ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1935ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach 1936ee10ff89a2934636570cb17b756bf31b2a38aab5Jim Grosbach@------------------------------------------------------------------------------ 193786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ RSB 193886fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@------------------------------------------------------------------------------ 193986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, #0xf000 1940ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r4, r5, $0xf000 1941ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r4, r5, 0xf000 1942ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, #(0xff << 16) 1943ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, #-2147483638 1944ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, #42, #2 1945ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, #40, #2 1946ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, $40, $2 1947ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, 40, 2 1948ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, r8, (2 * 20), (1 << 1) 194986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6 195086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6, lsl #5 195186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsblo r4, r5, r6, lsr #5 195286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6, lsr #5 195386fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6, asr #5 195486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6, ror #5 195586fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, r8, lsl r9 195686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, r8, lsr r9 195786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, r8, asr r9 195886fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsble r6, r7, r8, ror r9 195986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, r6, rrx 196086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach 196186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach @ destination register is optional 196286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r5, #0xf000 1963ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r5, $0xf000 1964ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r5, 0xf000 1965ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, #(0xff << 16) 1966ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, #-2147483638 1967ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, #42, #2 1968ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, #40, #2 1969ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, $40, $2 1970ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, 40, 2 1971ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsb r7, (2 * 20), (1 << 1) 197286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5 197386fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, lsl #5 197486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, lsr #5 197586fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsbne r4, r5, lsr #5 197686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, asr #5 197786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, ror #5 197886fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsbgt r6, r7, lsl r9 197986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, lsr r9 198086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, asr r9 198186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r6, r7, ror r9 198286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach rsb r4, r5, rrx 198386fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach 198486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, #61440 @ encoding: [0x0f,0x4a,0x65,0xe2] 1985ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r4, r5, #61440 @ encoding: [0x0f,0x4a,0x65,0xe2] 1986ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r4, r5, #61440 @ encoding: [0x0f,0x4a,0x65,0xe2] 1987ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #16711680 @ encoding: [0xff,0x78,0x68,0xe2] 1988ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x68,0xe2] 1989ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x68,0xe2] 1990ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #40, #2 @ encoding: [0x28,0x71,0x68,0xe2] 1991ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #40, #2 @ encoding: [0x28,0x71,0x68,0xe2] 1992ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #40, #2 @ encoding: [0x28,0x71,0x68,0xe2] 1993ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r8, #40, #2 @ encoding: [0x28,0x71,0x68,0xe2] 199486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6 @ encoding: [0x06,0x40,0x65,0xe0] 199586fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x65,0xe0] 199686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsblo r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x65,0x30] 199786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x65,0xe0] 199886fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0x65,0xe0] 199986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0x65,0xe0] 200086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0x67,0xe0] 200186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0x67,0xe0] 200286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0x67,0xe0] 200386fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsble r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x67,0xd0] 200486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r5, r6, rrx @ encoding: [0x66,0x40,0x65,0xe0] 200586fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach 200686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r5, r5, #61440 @ encoding: [0x0f,0x5a,0x65,0xe2] 2007ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r5, r5, #61440 @ encoding: [0x0f,0x5a,0x65,0xe2] 2008ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r5, r5, #61440 @ encoding: [0x0f,0x5a,0x65,0xe2] 2009ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #16711680 @ encoding: [0xff,0x78,0x67,0xe2] 2010ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x67,0xe2] 2011ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x67,0xe2] 2012ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #40, #2 @ encoding: [0x28,0x71,0x67,0xe2] 2013ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #40, #2 @ encoding: [0x28,0x71,0x67,0xe2] 2014ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #40, #2 @ encoding: [0x28,0x71,0x67,0xe2] 2015ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsb r7, r7, #40, #2 @ encoding: [0x28,0x71,0x67,0xe2] 201686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5 @ encoding: [0x05,0x40,0x64,0xe0] 201786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0x64,0xe0] 201886fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x64,0xe0] 201986fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsbne r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x64,0x10] 202086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0x64,0xe0] 202186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0x64,0xe0] 202286fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsbgt r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0x66,0xc0] 202386fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0x66,0xe0] 202486fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x66,0xe0] 202586fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x66,0xe0] 202686fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@ CHECK: rsb r4, r4, r5, rrx @ encoding: [0x65,0x40,0x64,0xe0] 202786fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach 2028f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@------------------------------------------------------------------------------ 2029ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ RSBS 2030ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 2031ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, #16711680 2032ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, $16711680 2033ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, 16711680 2034ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, #(0xff << 16) 2035ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, #-2147483638 2036ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, #42, #2 2037ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, #40, #2 2038ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, $40, $2 2039ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, 40, 2 2040ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsbs r7, r8, (2 * 20), (1 << 1) 2041ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 2042ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r7, #16711680 @ encoding: [0xff,0x78,0x77,0xe2] 2043ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r7, #16711680 @ encoding: [0xff,0x78,0x77,0xe2] 2044ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r7, #16711680 @ encoding: [0xff,0x78,0x77,0xe2] 2045ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r7, #16711680 @ encoding: [0xff,0x78,0x77,0xe2] 2046ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x78,0xe2] 2047ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x78,0xe2] 2048ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x78,0xe2] 2049ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x78,0xe2] 2050ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x78,0xe2] 2051ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsbs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x78,0xe2] 2052ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 2053ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 2054f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ RSC 2055f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@------------------------------------------------------------------------------ 2056f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, #0xf000 2057ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r4, r5, $0xf000 2058ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r4, r5, 0xf000 2059ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, #(0xff << 16) 2060ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, #-2147483638 2061ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, #42, #2 2062ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, #40, #2 2063ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, $40, $2 2064ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, 40, 2 2065ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, r8, (2 * 20), (1 << 1) 2066f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, r6 2067f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, r6, lsl #5 2068f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsclo r4, r5, r6, lsr #5 2069f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, r6, lsr #5 2070f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, r6, asr #5 2071f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, r6, ror #5 2072f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, r8, lsl r9 2073f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, r8, lsr r9 2074f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, r8, asr r9 2075f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rscle r6, r7, r8, ror r9 20762f25d9b9334662e846460e98a8fe2dae4f233068Jim Grosbach rscs r1, r8, #4064 2077f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach 2078f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach @ destination register is optional 2079f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r5, #0xf000 2080ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r5, $0xf000 2081ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r5, 0xf000 2082ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, #(0xff << 16) 2083ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, #-2147483638 2084ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, #42, #2 2085ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, #40, #2 2086ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, $40, $2 2087ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, 40, 2 2088ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines rsc r7, (2 * 20), (1 << 1) 2089f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5 2090f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, lsl #5 2091f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, lsr #5 2092f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rscne r4, r5, lsr #5 2093f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, asr #5 2094f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r4, r5, ror #5 2095f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rscgt r6, r7, lsl r9 2096f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, lsr r9 2097f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, asr r9 2098f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach rsc r6, r7, ror r9 2099f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach 2100f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xe5,0xe2] 2101ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xe5,0xe2] 2102ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xe5,0xe2] 2103ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #16711680 @ encoding: [0xff,0x78,0xe8,0xe2] 2104ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xe8,0xe2] 2105ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xe8,0xe2] 2106ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xe8,0xe2] 2107ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xe8,0xe2] 2108ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xe8,0xe2] 2109ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xe8,0xe2] 2110f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, r6 @ encoding: [0x06,0x40,0xe5,0xe0] 2111f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0xe5,0xe0] 2112f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsclo r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0xe5,0x30] 2113f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0xe5,0xe0] 2114f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0xe5,0xe0] 2115f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0xe5,0xe0] 2116f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0xe7,0xe0] 2117f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0xe7,0xe0] 2118f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0xe7,0xe0] 2119f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rscle r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0xe7,0xd0] 21202f25d9b9334662e846460e98a8fe2dae4f233068Jim Grosbach@ CHECK: rscs r1, r8, #4064 @ encoding: [0xfe,0x1e,0xf8,0xe2] 2121f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach 2122f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xe5,0xe2] 2123ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xe5,0xe2] 2124ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xe5,0xe2] 2125ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #16711680 @ encoding: [0xff,0x78,0xe7,0xe2] 2126ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xe7,0xe2] 2127ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xe7,0xe2] 2128ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xe7,0xe2] 2129ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xe7,0xe2] 2130ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xe7,0xe2] 2131ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: rsc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xe7,0xe2] 2132f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r4, r5 @ encoding: [0x05,0x40,0xe4,0xe0] 2133f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0xe4,0xe0] 2134f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0xe4,0xe0] 2135f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rscne r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0xe4,0x10] 2136f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0xe4,0xe0] 2137f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0xe4,0xe0] 2138f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rscgt r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0xe6,0xc0] 2139f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0xe6,0xe0] 2140f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0xe6,0xe0] 2141f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach@ CHECK: rsc r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0xe6,0xe0] 2142f790193aec11747bb35206d2c79e0c5ffbc6dc7fJim Grosbach 21438ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@------------------------------------------------------------------------------ 21442248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ RRX/RRXS 21452248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@------------------------------------------------------------------------------ 21462248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa 21472248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrx r0, r1 21482248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrx sp, pc 21492248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrx pc, lr 21502248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrx lr, sp 21512248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa 21522248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ CHECK: rrx r0, r1 @ encoding: [0x61,0x00,0xa0,0xe1] 21532248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ CHECK: rrx sp, pc @ encoding: [0x6f,0xd0,0xa0,0xe1] 21542248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ CHECK: rrx pc, lr @ encoding: [0x6e,0xf0,0xa0,0xe1] 21552248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ CHECK: rrx lr, sp @ encoding: [0x6d,0xe0,0xa0,0xe1] 21562248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa 21572248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrxs r0, r1 21582248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrxs sp, pc 21592248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrxs pc, lr 21602248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa rrxs lr, sp 21612248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa 21622248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@CHECK: rrxs r0, r1 @ encoding: [0x61,0x00,0xb0,0xe1] 21632248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@CHECK: rrxs sp, pc @ encoding: [0x6f,0xd0,0xb0,0xe1] 21642248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@CHECK: rrxs pc, lr @ encoding: [0x6e,0xf0,0xb0,0xe1] 21652248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@CHECK: rrxs lr, sp @ encoding: [0x6d,0xe0,0xb0,0xe1] 21662248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa 21672248cf590617cbe91eeb6a845ad06d675d9f2e91Mihai Popa@ ------------------------------------------------------------------------------ 21688ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ SADD16/SADD8 21698ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@------------------------------------------------------------------------------ 21708ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sadd16 r1, r2, r3 21718ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sadd16gt r1, r2, r3 21728ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sadd8 r1, r2, r3 21738ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sadd8le r1, r2, r3 21748ae45af7941dc3e78859ba3624676081590c435dJim Grosbach 21758ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sadd16 r1, r2, r3 @ encoding: [0x13,0x1f,0x12,0xe6] 21768ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sadd16gt r1, r2, r3 @ encoding: [0x13,0x1f,0x12,0xc6] 21778ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sadd8 r1, r2, r3 @ encoding: [0x93,0x1f,0x12,0xe6] 21788ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sadd8le r1, r2, r3 @ encoding: [0x93,0x1f,0x12,0xd6] 21798ae45af7941dc3e78859ba3624676081590c435dJim Grosbach 21808ae45af7941dc3e78859ba3624676081590c435dJim Grosbach 21818ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@------------------------------------------------------------------------------ 21828ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ SASX 21838ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@------------------------------------------------------------------------------ 21848ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sasx r9, r12, r0 21858ae45af7941dc3e78859ba3624676081590c435dJim Grosbach sasxeq r9, r12, r0 21868ae45af7941dc3e78859ba3624676081590c435dJim Grosbach 21878ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sasx r9, r12, r0 @ encoding: [0x30,0x9f,0x1c,0xe6] 21888ae45af7941dc3e78859ba3624676081590c435dJim Grosbach@ CHECK: sasxeq r9, r12, r0 @ encoding: [0x30,0x9f,0x1c,0x06] 21898ae45af7941dc3e78859ba3624676081590c435dJim Grosbach 219086fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach 219186fdff0fa79b2c00cb68a2961cca0466eb50d666Jim Grosbach@------------------------------------------------------------------------------ 21928409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ SBC 21938409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@------------------------------------------------------------------------------ 21948409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, #0xf000 2195ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r4, r5, $0xf000 2196ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r4, r5, 0xf000 2197ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, #(0xff << 16) 2198ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, #-2147483638 2199ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, #42, #2 2200ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, #40, #2 2201ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, $40, $2 2202ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, 40, 2 2203ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, r8, (20 * 2), (1 << 1) 22048409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6 22058409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6, lsl #5 22068409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6, lsr #5 22078409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6, lsr #5 22088409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6, asr #5 22098409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, r6, ror #5 22108409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, r8, lsl r9 22118409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, r8, lsr r9 22128409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, r8, asr r9 22138409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, r8, ror r9 22148409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach 22158409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach @ destination register is optional 22168409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r5, #0xf000 2217ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r5, $0xf000 2218ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r5, 0xf000 2219ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, #(0xff << 16) 2220ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, #-2147483638 2221ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, #42, #2 2222ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, #40, #2 2223ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, $40, $2 2224ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, 40, 2 2225ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sbc r7, (20 * 2), (1 << 1) 22268409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5 22278409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, lsl #5 22288409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, lsr #5 22298409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, lsr #5 22308409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, asr #5 22318409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r4, r5, ror #5 22328409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, lsl r9 22338409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, lsr r9 22348409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, asr r9 22358409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach sbc r6, r7, ror r9 22368409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach 22378409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xc5,0xe2] 2238ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xc5,0xe2] 2239ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r4, r5, #61440 @ encoding: [0x0f,0x4a,0xc5,0xe2] 2240ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #16711680 @ encoding: [0xff,0x78,0xc8,0xe2] 2241ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xc8,0xe2] 2242ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xc8,0xe2] 2243ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe2] 2244ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe2] 2245ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe2] 2246ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r8, #40, #2 @ encoding: [0x28,0x71,0xc8,0xe2] 22478409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6 @ encoding: [0x06,0x40,0xc5,0xe0] 22488409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0xc5,0xe0] 22498409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0xc5,0xe0] 22508409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0xc5,0xe0] 22518409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0xc5,0xe0] 22528409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0xc5,0xe0] 22538409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0xc7,0xe0] 22548409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0xc7,0xe0] 22558409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0xc7,0xe0] 22568409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0xc7,0xe0] 22578409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach 22588409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xc5,0xe2] 2259ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xc5,0xe2] 2260ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r5, r5, #61440 @ encoding: [0x0f,0x5a,0xc5,0xe2] 2261ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #16711680 @ encoding: [0xff,0x78,0xc7,0xe2] 2262ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xc7,0xe2] 2263ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0xc7,0xe2] 2264ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe2] 2265ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe2] 2266ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe2] 2267ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sbc r7, r7, #40, #2 @ encoding: [0x28,0x71,0xc7,0xe2] 22688409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5 @ encoding: [0x05,0x40,0xc4,0xe0] 22698409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0xc4,0xe0] 22708409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0xc4,0xe0] 22718409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0xc4,0xe0] 22728409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0xc4,0xe0] 22738409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0xc4,0xe0] 22748409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0xc6,0xe0] 22758409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0xc6,0xe0] 22768409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0xc6,0xe0] 22778409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@ CHECK: sbc r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0xc6,0xe0] 22788409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach 22798409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach 22808409f047312da0318af2a2fce162810ca3a95da3Jim Grosbach@------------------------------------------------------------------------------ 2281fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ SBFX 2282fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@------------------------------------------------------------------------------ 2283fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach sbfx r4, r5, #16, #1 2284fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach sbfxgt r4, r5, #16, #16 2285fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach 2286fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ CHECK: sbfx r4, r5, #16, #1 @ encoding: [0x55,0x48,0xa0,0xe7] 2287fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ CHECK: sbfxgt r4, r5, #16, #16 @ encoding: [0x55,0x48,0xaf,0xc7] 2288fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach 2289fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach 2290fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@------------------------------------------------------------------------------ 22919076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach@ SEL 22929076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach@------------------------------------------------------------------------------ 22939076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach sel r9, r2, r1 22949076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach selne r9, r2, r1 22959076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach 22969076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach@ CHECK: sel r9, r2, r1 @ encoding: [0xb1,0x9f,0x82,0xe6] 22979076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach@ CHECK: selne r9, r2, r1 @ encoding: [0xb1,0x9f,0x82,0x16] 22989076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach 22999076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach 23009076b6e8f43c7eade7e0b667081f94df097e85c3Jim Grosbach@------------------------------------------------------------------------------ 2301c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach@ SETEND 2302c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach@------------------------------------------------------------------------------ 2303c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach setend be 2304ee5e24cb3e987c74d4dce146b4f78e83fb2b56a8Tim Northover setend BE 2305c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach setend le 2306ee5e24cb3e987c74d4dce146b4f78e83fb2b56a8Tim Northover setend LE 2307c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach 2308356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: setend be @ encoding: [0x00,0x02,0x01,0xf1] 2309ee5e24cb3e987c74d4dce146b4f78e83fb2b56a8Tim Northover@ CHECK: setend be @ encoding: [0x00,0x02,0x01,0xf1] 2310ee5e24cb3e987c74d4dce146b4f78e83fb2b56a8Tim Northover@ CHECK: setend le @ encoding: [0x00,0x00,0x01,0xf1] 2311356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: setend le @ encoding: [0x00,0x00,0x01,0xf1] 2312c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach 2313c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach 2314c27d4f9ea0cb9064d3e2cadb384d73e95e9de449Jim Grosbach@------------------------------------------------------------------------------ 2315248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ SEV 2316248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2317248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach sev 2318248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach seveq 2319248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 23209c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: sev @ encoding: [0x04,0xf0,0x20,0xe3] 23219c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: seveq @ encoding: [0x04,0xf0,0x20,0x03] 23229c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach 2323248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2324248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2325248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ SHADD16/SHADD8 2326248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2327248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shadd16 r4, r8, r2 2328248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shadd16gt r4, r8, r2 2329248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shadd8 r4, r8, r2 2330248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shadd8gt r4, r8, r2 2331248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2332248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shadd16 r4, r8, r2 @ encoding: [0x12,0x4f,0x38,0xe6] 2333248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shadd16gt r4, r8, r2 @ encoding: [0x12,0x4f,0x38,0xc6] 2334248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shadd8 r4, r8, r2 @ encoding: [0x92,0x4f,0x38,0xe6] 2335248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shadd8gt r4, r8, r2 @ encoding: [0x92,0x4f,0x38,0xc6] 2336248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2337248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2338248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2339248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ SHASX 2340248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2341248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shasx r4, r8, r2 2342248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shasxgt r4, r8, r2 2343248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2344248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shasx r4, r8, r2 @ encoding: [0x32,0x4f,0x38,0xe6] 2345248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shasxgt r4, r8, r2 @ encoding: [0x32,0x4f,0x38,0xc6] 2346248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2347248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2348248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2349248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ SHSUB16/SHSUB8 2350248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2351248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shsub16 r4, r8, r2 2352248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shsub16gt r4, r8, r2 2353248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shsub8 r4, r8, r2 2354248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach shsub8gt r4, r8, r2 2355248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2356248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shsub16 r4, r8, r2 @ encoding: [0x72,0x4f,0x38,0xe6] 2357248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shsub16gt r4, r8, r2 @ encoding: [0x72,0x4f,0x38,0xc6] 2358248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shsub8 r4, r8, r2 @ encoding: [0xf2,0x4f,0x38,0xe6] 2359248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@ CHECK: shsub8gt r4, r8, r2 @ encoding: [0xf2,0x4f,0x38,0xc6] 2360248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 23617c9fbc0340aff9e20fd9009be23ffd279c1c0a7dJim Grosbach@------------------------------------------------------------------------------ 23620ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ SMLABB/SMLABT/SMLATB/SMLATT 23630ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@------------------------------------------------------------------------------ 23640ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlabb r3, r1, r9, r0 23650ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlabt r5, r6, r4, r1 23660ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlatb r4, r2, r3, r2 23670ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlatt r8, r3, r8, r4 23680ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlabbge r3, r1, r9, r0 23690ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlabtle r5, r6, r4, r1 23700ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlatbne r4, r2, r3, r2 23710ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach smlatteq r8, r3, r8, r4 23720ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach 23730ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlabb r3, r1, r9, r0 @ encoding: [0x81,0x09,0x03,0xe1] 23740ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlabt r5, r6, r4, r1 @ encoding: [0xc6,0x14,0x05,0xe1] 23750ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlatb r4, r2, r3, r2 @ encoding: [0xa2,0x23,0x04,0xe1] 23760ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlatt r8, r3, r8, r4 @ encoding: [0xe3,0x48,0x08,0xe1] 23770ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlabbge r3, r1, r9, r0 @ encoding: [0x81,0x09,0x03,0xa1] 23780ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlabtle r5, r6, r4, r1 @ encoding: [0xc6,0x14,0x05,0xd1] 23790ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlatbne r4, r2, r3, r2 @ encoding: [0xa2,0x23,0x04,0x11] 23800ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach@ CHECK: smlatteq r8, r3, r8, r4 @ encoding: [0xe3,0x48,0x08,0x01] 23810ffd4a09dfb1ee56ec335fed0d15954f92cfa5b3Jim Grosbach 2382b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@------------------------------------------------------------------------------ 2383b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@ SMLAD/SMLADX 2384b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@------------------------------------------------------------------------------ 2385b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach smlad r2, r3, r5, r8 2386b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach smladx r2, r3, r5, r8 2387b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach smladeq r2, r3, r5, r8 2388b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach smladxhi r2, r3, r5, r8 2389b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach 2390b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@ CHECK: smlad r2, r3, r5, r8 @ encoding: [0x13,0x85,0x02,0xe7] 2391b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@ CHECK: smladx r2, r3, r5, r8 @ encoding: [0x33,0x85,0x02,0xe7] 2392b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@ CHECK: smladeq r2, r3, r5, r8 @ encoding: [0x13,0x85,0x02,0x07] 2393b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach@ CHECK: smladxhi r2, r3, r5, r8 @ encoding: [0x33,0x85,0x02,0x87] 2394b206daaec1a2ec25e99fbdc413cd0866cec160b2Jim Grosbach 2395248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach 2396248e6c328c06afc2a6af6b95a1a8a41c1b53055cJim Grosbach@------------------------------------------------------------------------------ 2397ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ SMLAL 2398b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@------------------------------------------------------------------------------ 2399b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach smlal r2, r3, r5, r8 2400b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach smlals r2, r3, r5, r8 2401b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach smlaleq r2, r3, r5, r8 2402b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach smlalshi r2, r3, r5, r8 2403b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach 2404b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@ CHECK: smlal r2, r3, r5, r8 @ encoding: [0x95,0x28,0xe3,0xe0] 2405b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@ CHECK: smlals r2, r3, r5, r8 @ encoding: [0x95,0x28,0xf3,0xe0] 2406b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@ CHECK: smlaleq r2, r3, r5, r8 @ encoding: [0x95,0x28,0xe3,0x00] 2407b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@ CHECK: smlalshi r2, r3, r5, r8 @ encoding: [0x95,0x28,0xf3,0x80] 2408b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach 2409b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach 2410b544f68b70475f06a8ec39c874297549edc0f695Jim Grosbach@------------------------------------------------------------------------------ 2411ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ SMLALBB/SMLALBT/SMLALTB/SMLALTT 2412ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@------------------------------------------------------------------------------ 2413ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlalbb r3, r1, r9, r0 2414ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlalbt r5, r6, r4, r1 2415ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaltb r4, r2, r3, r2 2416ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaltt r8, r3, r8, r4 2417ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlalbbge r3, r1, r9, r0 2418ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlalbtle r5, r6, r4, r1 2419ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaltbne r4, r2, r3, r2 2420ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaltteq r8, r3, r8, r4 2421ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2422ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlalbb r3, r1, r9, r0 @ encoding: [0x89,0x30,0x41,0xe1] 2423ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlalbt r5, r6, r4, r1 @ encoding: [0xc4,0x51,0x46,0xe1] 2424ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaltb r4, r2, r3, r2 @ encoding: [0xa3,0x42,0x42,0xe1] 2425ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaltt r8, r3, r8, r4 @ encoding: [0xe8,0x84,0x43,0xe1] 2426ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlalbbge r3, r1, r9, r0 @ encoding: [0x89,0x30,0x41,0xa1] 2427ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlalbtle r5, r6, r4, r1 @ encoding: [0xc4,0x51,0x46,0xd1] 2428ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaltbne r4, r2, r3, r2 @ encoding: [0xa3,0x42,0x42,0x11] 2429ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaltteq r8, r3, r8, r4 @ encoding: [0xe8,0x84,0x43,0x01] 2430ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2431ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2432ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@------------------------------------------------------------------------------ 2433ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ SMLALD/SMLALDX 2434ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@------------------------------------------------------------------------------ 2435ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlald r2, r3, r5, r8 2436ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaldx r2, r3, r5, r8 2437ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaldeq r2, r3, r5, r8 2438ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach smlaldxhi r2, r3, r5, r8 2439ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2440ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlald r2, r3, r5, r8 @ encoding: [0x15,0x28,0x43,0xe7] 2441ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaldx r2, r3, r5, r8 @ encoding: [0x35,0x28,0x43,0xe7] 2442ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaldeq r2, r3, r5, r8 @ encoding: [0x15,0x28,0x43,0x07] 2443ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@ CHECK: smlaldxhi r2, r3, r5, r8 @ encoding: [0x35,0x28,0x43,0x87] 2444ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2445ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach 2446ce501030d9b0213d951fbf05f928ac75b06b5a3aJim Grosbach@------------------------------------------------------------------------------ 244744a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@ SMLAWB/SMLAWT 244844a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@------------------------------------------------------------------------------ 244944a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach smlawb r2, r3, r10, r8 245044a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach smlawt r8, r3, r5, r9 245144a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach smlawbeq r2, r7, r5, r8 245244a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach smlawthi r1, r3, r0, r8 245344a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach 245444a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@ CHECK: smlawb r2, r3, r10, r8 @ encoding: [0x83,0x8a,0x22,0xe1] 245544a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@ CHECK: smlawt r8, r3, r5, r9 @ encoding: [0xc3,0x95,0x28,0xe1] 245644a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@ CHECK: smlawbeq r2, r7, r5, r8 @ encoding: [0x87,0x85,0x22,0x01] 245744a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@ CHECK: smlawthi r1, r3, r0, r8 @ encoding: [0xc3,0x80,0x21,0x81] 245844a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach 245944a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach 246044a456332f1f41d1e0b2815d93e47a88d501ee6eJim Grosbach@------------------------------------------------------------------------------ 24616808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMLSD/SMLSDX 24626808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 24636808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsd r2, r3, r5, r8 24646808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsdx r2, r3, r5, r8 24656808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsdeq r2, r3, r5, r8 24666808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsdxhi r2, r3, r5, r8 24676808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24686808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsd r2, r3, r5, r8 @ encoding: [0x53,0x85,0x02,0xe7] 24696808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsdx r2, r3, r5, r8 @ encoding: [0x73,0x85,0x02,0xe7] 24706808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsdeq r2, r3, r5, r8 @ encoding: [0x53,0x85,0x02,0x07] 24716808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsdxhi r2, r3, r5, r8 @ encoding: [0x73,0x85,0x02,0x87] 24726808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24736808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24746808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 24756808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMLSLD/SMLSLDX 24766808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 24776808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsld r2, r9, r5, r1 24786808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsldx r4, r11, r2, r8 24796808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsldeq r8, r2, r5, r6 24806808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smlsldxhi r1, r0, r3, r8 24816808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24826808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsld r2, r9, r5, r1 @ encoding: [0x55,0x21,0x49,0xe7] 24836808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsldx r4, r11, r2, r8 @ encoding: [0x72,0x48,0x4b,0xe7] 24846808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsldeq r8, r2, r5, r6 @ encoding: [0x55,0x86,0x42,0x07] 24856808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smlsldxhi r1, r0, r3, r8 @ encoding: [0x73,0x18,0x40,0x87] 24866808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24876808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24886808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 24896808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMMLA/SMMLAR 24906808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 24916808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmla r1, r2, r3, r4 24926808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlar r4, r3, r2, r1 24936808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlalo r1, r2, r3, r4 24946808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlarcs r4, r3, r2, r1 24956808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 24966808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmla r1, r2, r3, r4 @ encoding: [0x12,0x43,0x51,0xe7] 24976808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlar r4, r3, r2, r1 @ encoding: [0x33,0x12,0x54,0xe7] 24986808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlalo r1, r2, r3, r4 @ encoding: [0x12,0x43,0x51,0x37] 24996808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlarhs r4, r3, r2, r1 @ encoding: [0x33,0x12,0x54,0x27] 25006808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25016808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25026808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25036808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMMLS/SMMLSR 25046808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25056808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmls r1, r2, r3, r4 25066808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlsr r4, r3, r2, r1 25076808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlslo r1, r2, r3, r4 25086808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmlsrcs r4, r3, r2, r1 25096808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25106808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmls r1, r2, r3, r4 @ encoding: [0xd2,0x43,0x51,0xe7] 25116808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlsr r4, r3, r2, r1 @ encoding: [0xf3,0x12,0x54,0xe7] 25126808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlslo r1, r2, r3, r4 @ encoding: [0xd2,0x43,0x51,0x37] 25136808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmlsrhs r4, r3, r2, r1 @ encoding: [0xf3,0x12,0x54,0x27] 25146808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25156808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25166808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25176808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMMUL/SMMULR 25186808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25196808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmul r2, r3, r4 25206808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmulr r3, r2, r1 25216808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmulcc r2, r3, r4 25226808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smmulrhs r3, r2, r1 25236808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25246808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmul r2, r3, r4 @ encoding: [0x13,0xf4,0x52,0xe7] 25256808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmulr r3, r2, r1 @ encoding: [0x32,0xf1,0x53,0xe7] 25266808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmullo r2, r3, r4 @ encoding: [0x13,0xf4,0x52,0x37] 25276808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smmulrhs r3, r2, r1 @ encoding: [0x32,0xf1,0x53,0x27] 25286808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25296808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25306808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25316808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ SMUAD/SMUADX 25326808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 25336808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smuad r2, r3, r4 25346808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smuadx r3, r2, r1 25356808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smuadlt r2, r3, r4 25366808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach smuadxge r3, r2, r1 25376808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 25386808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smuad r2, r3, r4 @ encoding: [0x13,0xf4,0x02,0xe7] 25396808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smuadx r3, r2, r1 @ encoding: [0x32,0xf1,0x03,0xe7] 25406808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smuadlt r2, r3, r4 @ encoding: [0x13,0xf4,0x02,0xb7] 25416808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@ CHECK: smuadxge r3, r2, r1 @ encoding: [0x32,0xf1,0x03,0xa7] 25426808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach 2543bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach 2544bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@------------------------------------------------------------------------------ 25453c4c879695eb282f01d89da87d5da0a141e7f6f8Jim Grosbach@ SMULBB/SMULBT/SMULTB/SMULTT 2546bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@------------------------------------------------------------------------------ 2547bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulbb r3, r9, r0 2548bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulbt r5, r4, r1 2549bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smultb r4, r2, r2 2550bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smultt r8, r3, r4 2551bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulbbge r1, r9, r0 2552bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulbtle r5, r6, r4 2553bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smultbne r2, r3, r2 2554bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smultteq r8, r3, r4 2555bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach 2556bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smulbb r3, r9, r0 @ encoding: [0x89,0x00,0x63,0xe1] 2557bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smulbt r5, r4, r1 @ encoding: [0xc4,0x01,0x65,0xe1] 2558bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smultb r4, r2, r2 @ encoding: [0xa2,0x02,0x64,0xe1] 2559bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smultt r8, r3, r4 @ encoding: [0xe3,0x04,0x68,0xe1] 2560bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smulbbge r1, r9, r0 @ encoding: [0x89,0x00,0x61,0xa1] 2561bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smulbtle r5, r6, r4 @ encoding: [0xc6,0x04,0x65,0xd1] 2562bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smultbne r2, r3, r2 @ encoding: [0xa3,0x02,0x62,0x11] 2563bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ CHECK: smultteq r8, r3, r4 @ encoding: [0xe3,0x04,0x68,0x01] 2564bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach 25650e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 2566bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@------------------------------------------------------------------------------ 2567bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@ SMULL 2568bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach@------------------------------------------------------------------------------ 2569bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smull r3, r9, r0, r1 2570bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulls r3, r9, r0, r2 2571bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smulleq r8, r3, r4, r5 2572bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach smullseq r8, r3, r4, r3 2573bf2845c0d8a77d24e9971871badeba8cee7b2648Jim Grosbach 25740e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smull r3, r9, r0, r1 @ encoding: [0x90,0x31,0xc9,0xe0] 25750e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smulls r3, r9, r0, r2 @ encoding: [0x90,0x32,0xd9,0xe0] 25760e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smulleq r8, r3, r4, r5 @ encoding: [0x94,0x85,0xc3,0x00] 25770e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smullseq r8, r3, r4, r3 @ encoding: [0x94,0x83,0xd3,0x00] 25780e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25790e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25800e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@------------------------------------------------------------------------------ 25810e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ SMULWB/SMULWT 25820e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@------------------------------------------------------------------------------ 25830e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smulwb r3, r9, r0 25840e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smulwt r3, r9, r2 25850e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25860e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smulwb r3, r9, r0 @ encoding: [0xa9,0x00,0x23,0xe1] 25870e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smulwt r3, r9, r2 @ encoding: [0xe9,0x02,0x23,0xe1] 25880e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25890e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25900e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@------------------------------------------------------------------------------ 25910e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ SMUSD/SMUSDX 25920e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@------------------------------------------------------------------------------ 25930e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smusd r3, r0, r1 25940e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smusdx r3, r9, r2 25950e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smusdeq r8, r3, r2 25960e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach smusdxne r7, r4, r3 25970e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 25980e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smusd r3, r0, r1 @ encoding: [0x50,0xf1,0x03,0xe7] 25990e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smusdx r3, r9, r2 @ encoding: [0x79,0xf2,0x03,0xe7] 26000e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smusdeq r8, r3, r2 @ encoding: [0x53,0xf2,0x08,0x07] 26010e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach@ CHECK: smusdxne r7, r4, r3 @ encoding: [0x74,0xf3,0x07,0x17] 26020e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 26030e76edf8c05c5107acb687b898fea686ae756c38Jim Grosbach 26046808f21757f4f2be05a3b12a67d9360b4f9f62e2Jim Grosbach@------------------------------------------------------------------------------ 2605e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ SRS 2606e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@------------------------------------------------------------------------------ 2607e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsda sp, #5 2608e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsdb sp, #1 2609e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsia sp, #0 2610e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsib sp, #15 2611e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2612e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsda sp!, #31 2613e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsdb sp!, #19 2614e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsia sp!, #2 2615e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsib sp!, #14 2616e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2617e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsfa sp, #11 2618e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsea sp, #10 2619e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsfd sp, #9 2620e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsed sp, #5 2621e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2622e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsfa sp!, #5 2623e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsea sp!, #5 2624e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsfd sp!, #5 2625e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srsed sp!, #5 2626e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2627e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srs sp, #5 2628e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach srs sp!, #5 2629e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2630e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsda sp, #5 @ encoding: [0x05,0x05,0x4d,0xf8] 2631e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsdb sp, #1 @ encoding: [0x01,0x05,0x4d,0xf9] 2632e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsia sp, #0 @ encoding: [0x00,0x05,0xcd,0xf8] 2633e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsib sp, #15 @ encoding: [0x0f,0x05,0xcd,0xf9] 2634e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2635e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsda sp!, #31 @ encoding: [0x1f,0x05,0x6d,0xf8] 2636e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsdb sp!, #19 @ encoding: [0x13,0x05,0x6d,0xf9] 2637e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsia sp!, #2 @ encoding: [0x02,0x05,0xed,0xf8] 2638e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsib sp!, #14 @ encoding: [0x0e,0x05,0xed,0xf9] 2639e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2640a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsib sp, #11 @ encoding: [0x0b,0x05,0xcd,0xf9] 2641a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsia sp, #10 @ encoding: [0x0a,0x05,0xcd,0xf8] 2642a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsdb sp, #9 @ encoding: [0x09,0x05,0x4d,0xf9] 2643a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsda sp, #5 @ encoding: [0x05,0x05,0x4d,0xf8] 2644e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2645e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsib sp!, #5 @ encoding: [0x05,0x05,0xed,0xf9] 2646a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsia sp!, #5 @ encoding: [0x05,0x05,0xed,0xf8] 2647a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsdb sp!, #5 @ encoding: [0x05,0x05,0x6d,0xf9] 2648a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsda sp!, #5 @ encoding: [0x05,0x05,0x6d,0xf8] 2649e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach 2650e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsia sp, #5 @ encoding: [0x05,0x05,0xcd,0xf8] 26511e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsia sp!, #5 @ encoding: [0x05,0x05,0xed,0xf8] 26521e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26531e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ Compatibility aliases. 26541e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsda #5 26551e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsdb #1 26561e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsia #0 26571e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsib #15 26581e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26591e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsda #31! 26601e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsdb #19! 26611e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsia #2! 26621e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsib #14! 26631e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26641e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsfa #11 26651e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsea #10 26661e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsfd #9 26671e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsed #5 26681e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26691e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsfa #5! 26701e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsea #5! 26711e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsfd #5! 26721e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srsed #5! 26731e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26741e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srs #5 26751e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach srs #5! 26761e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach 26771e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsda sp, #5 @ encoding: [0x05,0x05,0x4d,0xf8] 26781e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsdb sp, #1 @ encoding: [0x01,0x05,0x4d,0xf9] 26791e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsia sp, #0 @ encoding: [0x00,0x05,0xcd,0xf8] 26801e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsib sp, #15 @ encoding: [0x0f,0x05,0xcd,0xf9] 26811e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsda sp!, #31 @ encoding: [0x1f,0x05,0x6d,0xf8] 26821e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsdb sp!, #19 @ encoding: [0x13,0x05,0x6d,0xf9] 26831e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsia sp!, #2 @ encoding: [0x02,0x05,0xed,0xf8] 26841e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsib sp!, #14 @ encoding: [0x0e,0x05,0xed,0xf9] 2685a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsib sp, #11 @ encoding: [0x0b,0x05,0xcd,0xf9] 2686a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsia sp, #10 @ encoding: [0x0a,0x05,0xcd,0xf8] 2687a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsdb sp, #9 @ encoding: [0x09,0x05,0x4d,0xf9] 2688a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsda sp, #5 @ encoding: [0x05,0x05,0x4d,0xf8] 26891e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsib sp!, #5 @ encoding: [0x05,0x05,0xed,0xf9] 2690a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsia sp!, #5 @ encoding: [0x05,0x05,0xed,0xf8] 2691a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsdb sp!, #5 @ encoding: [0x05,0x05,0x6d,0xf9] 2692a744d41a3f8af25938e12617abe2a8d32f6eabf6Tilmann Scheller@ CHECK: srsda sp!, #5 @ encoding: [0x05,0x05,0x6d,0xf8] 26931e8ed2537b3e4b2175cd9e62626f07606c62cfa0Jim Grosbach@ CHECK: srsia sp, #5 @ encoding: [0x05,0x05,0xcd,0xf8] 2694e1cf5902ec832cecdd5a94b9701930253d410741Jim Grosbach@ CHECK: srsia sp!, #5 @ encoding: [0x05,0x05,0xed,0xf8] 2695580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach 2696580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach 2697580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@------------------------------------------------------------------------------ 2698580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ SSAT 2699580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@------------------------------------------------------------------------------ 2700fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat r8, #1, r10 2701fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat r8, #1, r10, lsl #0 2702fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat r8, #1, r10, lsl #31 2703fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat r8, #1, r10, asr #32 2704fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat r8, #1, r10, asr #1 2705580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach 2706580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ CHECK: ssat r8, #1, r10 @ encoding: [0x1a,0x80,0xa0,0xe6] 2707580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ CHECK: ssat r8, #1, r10 @ encoding: [0x1a,0x80,0xa0,0xe6] 2708580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ CHECK: ssat r8, #1, r10, lsl #31 @ encoding: [0x9a,0x8f,0xa0,0xe6] 2709580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ CHECK: ssat r8, #1, r10, asr #32 @ encoding: [0x5a,0x80,0xa0,0xe6] 2710580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach@ CHECK: ssat r8, #1, r10, asr #1 @ encoding: [0xda,0x80,0xa0,0xe6] 2711580f4a9c1c2fcbb8877463f873c6e9ca2a5ccf9fJim Grosbach 2712f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach 2713f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach@------------------------------------------------------------------------------ 2714f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach@ SSAT16 2715f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach@------------------------------------------------------------------------------ 2716fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat16 r2, #1, r7 2717fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach ssat16 r3, #16, r5 2718f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach 2719f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach@ CHECK: ssat16 r2, #1, r7 @ encoding: [0x37,0x2f,0xa0,0xe6] 2720f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach@ CHECK: ssat16 r3, #16, r5 @ encoding: [0x35,0x3f,0xaf,0xe6] 2721f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach 2722f49433523e8a39db6d83503e312ae55160eed90aJim Grosbach 27236ab4e3dd2375c3dcee06dde37437dc0c5a99aa24Jim Grosbach@------------------------------------------------------------------------------ 2724185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ SSAX 2725185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@------------------------------------------------------------------------------ 2726185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssax r2, r3, r4 2727185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssaxlt r2, r3, r4 2728185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach 2729185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssax r2, r3, r4 @ encoding: [0x54,0x2f,0x13,0xe6] 2730185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssaxlt r2, r3, r4 @ encoding: [0x54,0x2f,0x13,0xb6] 2731185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach 2732185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@------------------------------------------------------------------------------ 2733185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ SSUB16/SSUB8 2734185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@------------------------------------------------------------------------------ 2735185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssub16 r1, r0, r6 2736185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssub16ne r5, r3, r2 2737185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssub8 r9, r2, r4 2738185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach ssub8eq r5, r1, r2 2739185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach 2740185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssub16 r1, r0, r6 @ encoding: [0x76,0x1f,0x10,0xe6] 2741185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssub16ne r5, r3, r2 @ encoding: [0x72,0x5f,0x13,0x16] 2742185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssub8 r9, r2, r4 @ encoding: [0xf4,0x9f,0x12,0xe6] 2743185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@ CHECK: ssub8eq r5, r1, r2 @ encoding: [0xf2,0x5f,0x11,0x06] 2744185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach 27459f45754750b03516db23b21021db72b20336ea85Jim Grosbach@------------------------------------------------------------------------------ 27469f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ STC{L}/STC2{L} 27479f45754750b03516db23b21021db72b20336ea85Jim Grosbach@------------------------------------------------------------------------------ 27489f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p0, c8, [r1, #4] 27499f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p1, c7, [r2] 27509f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p2, c6, [r3, #-224] 27519f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p3, c5, [r4, #-120]! 27529f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p4, c4, [r5], #16 27539f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p5, c3, [r6], #-72 27549f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2l p6, c2, [r7, #4] 27559f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2l p7, c1, [r8] 27569f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2l p8, c0, [r9, #-224] 27579f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2l p9, c1, [r10, #-120]! 27581b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov stc2l p0, c2, [r11], #16 27591b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov stc2l p1, c3, [r12], #-72 27609f45754750b03516db23b21021db72b20336ea85Jim Grosbach 27619f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p12, c4, [r0, #4] 27629f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p13, c5, [r1] 27639f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p14, c6, [r2, #-224] 27649f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p15, c7, [r3, #-120]! 27659f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p5, c8, [r4], #16 27669f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc p4, c9, [r5], #-72 27679f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p3, c10, [r6, #4] 27689f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p2, c11, [r7] 27699f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p1, c12, [r8, #-224] 27709f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p0, c13, [r9, #-120]! 27719f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p6, c14, [r10], #16 27729f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcl p7, c15, [r11], #-72 27739f45754750b03516db23b21021db72b20336ea85Jim Grosbach 27749f45754750b03516db23b21021db72b20336ea85Jim Grosbach stclo p12, c4, [r0, #4] 27759f45754750b03516db23b21021db72b20336ea85Jim Grosbach stchi p13, c5, [r1] 27769f45754750b03516db23b21021db72b20336ea85Jim Grosbach stccs p14, c6, [r2, #-224] 27779f45754750b03516db23b21021db72b20336ea85Jim Grosbach stccc p15, c7, [r3, #-120]! 27789f45754750b03516db23b21021db72b20336ea85Jim Grosbach stceq p5, c8, [r4], #16 27799f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcgt p4, c9, [r5], #-72 27809f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcllt p3, c10, [r6, #4] 27819f45754750b03516db23b21021db72b20336ea85Jim Grosbach stclge p2, c11, [r7] 27829f45754750b03516db23b21021db72b20336ea85Jim Grosbach stclle p1, c12, [r8, #-224] 27839f45754750b03516db23b21021db72b20336ea85Jim Grosbach stclne p0, c13, [r9, #-120]! 27849f45754750b03516db23b21021db72b20336ea85Jim Grosbach stcleq p6, c14, [r10], #16 27859f45754750b03516db23b21021db72b20336ea85Jim Grosbach stclhi p7, c15, [r11], #-72 27869f45754750b03516db23b21021db72b20336ea85Jim Grosbach 27879f45754750b03516db23b21021db72b20336ea85Jim Grosbach stc2 p2, c8, [r1], { 25 } 27889f45754750b03516db23b21021db72b20336ea85Jim Grosbach 27899f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p0, c8, [r1, #4] @ encoding: [0x01,0x80,0x81,0xfd] 27909f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p1, c7, [r2] @ encoding: [0x00,0x71,0x82,0xfd] 27919f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p2, c6, [r3, #-224] @ encoding: [0x38,0x62,0x03,0xfd] 27929f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p3, c5, [r4, #-120]! @ encoding: [0x1e,0x53,0x24,0xfd] 27939f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p4, c4, [r5], #16 @ encoding: [0x04,0x44,0xa5,0xfc] 27949f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p5, c3, [r6], #-72 @ encoding: [0x12,0x35,0x26,0xfc] 27959f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2l p6, c2, [r7, #4] @ encoding: [0x01,0x26,0xc7,0xfd] 27969f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2l p7, c1, [r8] @ encoding: [0x00,0x17,0xc8,0xfd] 27979f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2l p8, c0, [r9, #-224] @ encoding: [0x38,0x08,0x49,0xfd] 27989f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2l p9, c1, [r10, #-120]! @ encoding: [0x1e,0x19,0x6a,0xfd] 27991b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: stc2l p0, c2, [r11], #16 @ encoding: [0x04,0x20,0xeb,0xfc] 28001b91231347c00bf1be46bdd5b27ae8c45fdc0d0cArtyom Skrobov@ CHECK: stc2l p1, c3, [r12], #-72 @ encoding: [0x12,0x31,0x6c,0xfc] 28019f45754750b03516db23b21021db72b20336ea85Jim Grosbach 28029f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p12, c4, [r0, #4] @ encoding: [0x01,0x4c,0x80,0xed] 28039f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p13, c5, [r1] @ encoding: [0x00,0x5d,0x81,0xed] 28049f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p14, c6, [r2, #-224] @ encoding: [0x38,0x6e,0x02,0xed] 28059f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p15, c7, [r3, #-120]! @ encoding: [0x1e,0x7f,0x23,0xed] 28069f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p5, c8, [r4], #16 @ encoding: [0x04,0x85,0xa4,0xec] 28079f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc p4, c9, [r5], #-72 @ encoding: [0x12,0x94,0x25,0xec] 28089f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p3, c10, [r6, #4] @ encoding: [0x01,0xa3,0xc6,0xed] 28099f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p2, c11, [r7] @ encoding: [0x00,0xb2,0xc7,0xed] 28109f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p1, c12, [r8, #-224] @ encoding: [0x38,0xc1,0x48,0xed] 28119f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p0, c13, [r9, #-120]! @ encoding: [0x1e,0xd0,0x69,0xed] 28129f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p6, c14, [r10], #16 @ encoding: [0x04,0xe6,0xea,0xec] 28139f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcl p7, c15, [r11], #-72 @ encoding: [0x12,0xf7,0x6b,0xec] 28149f45754750b03516db23b21021db72b20336ea85Jim Grosbach 28159f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclo p12, c4, [r0, #4] @ encoding: [0x01,0x4c,0x80,0x3d] 28169f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stchi p13, c5, [r1] @ encoding: [0x00,0x5d,0x81,0x8d] 28179f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stchs p14, c6, [r2, #-224] @ encoding: [0x38,0x6e,0x02,0x2d] 28189f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclo p15, c7, [r3, #-120]! @ encoding: [0x1e,0x7f,0x23,0x3d] 28199f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stceq p5, c8, [r4], #16 @ encoding: [0x04,0x85,0xa4,0x0c] 28209f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcgt p4, c9, [r5], #-72 @ encoding: [0x12,0x94,0x25,0xcc] 28219f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcllt p3, c10, [r6, #4] @ encoding: [0x01,0xa3,0xc6,0xbd] 28229f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclge p2, c11, [r7] @ encoding: [0x00,0xb2,0xc7,0xad] 28239f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclle p1, c12, [r8, #-224] @ encoding: [0x38,0xc1,0x48,0xdd] 28249f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclne p0, c13, [r9, #-120]! @ encoding: [0x1e,0xd0,0x69,0x1d] 28259f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stcleq p6, c14, [r10], #16 @ encoding: [0x04,0xe6,0xea,0x0c] 28269f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stclhi p7, c15, [r11], #-72 @ encoding: [0x12,0xf7,0x6b,0x8c] 28279f45754750b03516db23b21021db72b20336ea85Jim Grosbach 28289f45754750b03516db23b21021db72b20336ea85Jim Grosbach@ CHECK: stc2 p2, c8, [r1], {25} @ encoding: [0x19,0x82,0x81,0xfc] 28299f45754750b03516db23b21021db72b20336ea85Jim Grosbach 2830185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach 2831185f92e7d019bc52413a2b082d61e35c80f8b597Jim Grosbach@------------------------------------------------------------------------------ 28323b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@ STM* 28333b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach@------------------------------------------------------------------------------ 28343b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach stm r2, {r1,r3-r6,sp} 2835a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmia r3, {r1,r3-r6,lr} 2836a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmib r4, {r1,r3-r6,sp} 2837a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmda r5, {r1,r3-r6,sp} 2838a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmdb r6, {r1,r3-r6,r8} 2839a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmfd sp, {r1,r3-r6,sp} 28403b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach 28413b14a5c5469176effb921d91d4494f0aa2919fd0Jim Grosbach @ with update 2842a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stm r8!, {r1,r3-r6,sp} 2843a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmib r9!, {r1,r3-r6,sp} 2844a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmda sp!, {r1,r3-r6} 2845a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach stmdb r0!, {r1,r5,r7,sp} 2846a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach 2847e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stm r2, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x82,0xe8] 2848e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stm r3, {r1, r3, r4, r5, r6, lr} @ encoding: [0x7a,0x40,0x83,0xe8] 2849e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stmib r4, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x84,0xe9] 2850e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stmda r5, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x05,0xe8] 2851a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach@ CHECK: stmdb r6, {r1, r3, r4, r5, r6, r8} @ encoding: [0x7a,0x01,0x06,0xe9] 2852e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stmdb sp, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0x0d,0xe9] 2853a46c658c6619e979a54ec1e4dc919b3a0319129aJim Grosbach 2854e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stm r8!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0xa8,0xe8] 2855e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stmib r9!, {r1, r3, r4, r5, r6, sp} @ encoding: [0x7a,0x20,0xa9,0xe9] 28569c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: stmda sp!, {r1, r3, r4, r5, r6} @ encoding: [0x7a,0x00,0x2d,0xe8] 2857e29e2afc738348c74966ed81b3568779247c9fbdChad Rosier@ CHECK: stmdb r0!, {r1, r5, r7, sp} @ encoding: [0xa2,0x20,0x20,0xe9] 2858873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2859873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2860873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@------------------------------------------------------------------------------ 286136711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ STREX/STREXB/STREXH/STREXD 286236711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@------------------------------------------------------------------------------ 286336711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach strexb r1, r3, [r4] 286436711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach strexh r4, r2, [r5] 286536711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach strex r2, r1, [r7] 286636711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach strexd r6, r2, r3, [r8] 286736711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach 286836711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: strexb r1, r3, [r4] @ encoding: [0x93,0x1f,0xc4,0xe1] 286936711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: strexh r4, r2, [r5] @ encoding: [0x92,0x4f,0xe5,0xe1] 287036711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: strex r2, r1, [r7] @ encoding: [0x91,0x2f,0x87,0xe1] 287136711e4a3c0b53000ea594233bd619dbf252558cJim Grosbach@ CHECK: strexd r6, r2, r3, [r8] @ encoding: [0x92,0x6f,0xa8,0xe1] 2872873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 28730da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson@------------------------------------------------------------------------------ 28740da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson@ STR 28750da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson@------------------------------------------------------------------------------ 28760da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson strpl r3, [r10, #-0]! 28770da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson strpl r3, [r10, #0]! 28780da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson 28790da10cf44d0f22111dae728bb535ade2283d976bOwen Anderson@ CHECK: strpl r3, [r10, #-0]! @ encoding: [0x00,0x30,0x2a,0x55] 2880d64ee4455a9d2fcec7e001c7f4c02d490bed5158Quentin Colombet@ CHECK: strpl r3, [r10, #0]! @ encoding: [0x00,0x30,0xaa,0x55] 2881873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2882873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@------------------------------------------------------------------------------ 2883873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ SUB 2884873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@------------------------------------------------------------------------------ 2885873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, #0xf000 2886ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r4, r5, $0xf000 2887ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r4, r5, 0xf000 2888ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, #(0xff << 16) 2889ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, #-2147483638 2890ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, #42, #2 2891ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, #40, #2 2892ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, $40, $2 2893ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, 40, 2 2894ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, r8, (20 * 2), (1 << 1) 2895873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6 2896873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6, lsl #5 2897873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6, lsr #5 2898873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6, lsr #5 2899873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6, asr #5 2900873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, r6, ror #5 2901873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, r8, lsl r9 2902873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, r8, lsr r9 2903873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, r8, asr r9 2904873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, r8, ror r9 2905873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2906873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach @ destination register is optional 2907873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r5, #0xf000 2908ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r5, $0xf000 2909ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r5, 0xf000 2910ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, #(0xff << 16) 2911ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, #-2147483638 2912ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, #42, #2 2913ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, #40, #2 2914ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, $40, $2 2915ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, 40, 2 2916ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines sub r7, (20 * 2), (1 << 1) 2917873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5 2918873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, lsl #5 2919873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, lsr #5 2920873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, lsr #5 2921873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, asr #5 2922873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r4, r5, ror #5 2923873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, lsl r9 2924873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, lsr r9 2925873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, asr r9 2926873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach sub r6, r7, ror r9 2927873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2928873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, #61440 @ encoding: [0x0f,0x4a,0x45,0xe2] 2929ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r4, r5, #61440 @ encoding: [0x0f,0x4a,0x45,0xe2] 2930ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r4, r5, #61440 @ encoding: [0x0f,0x4a,0x45,0xe2] 2931ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #16711680 @ encoding: [0xff,0x78,0x48,0xe2] 2932ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x48,0xe2] 2933ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x48,0xe2] 2934ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #40, #2 @ encoding: [0x28,0x71,0x48,0xe2] 2935ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #40, #2 @ encoding: [0x28,0x71,0x48,0xe2] 2936ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #40, #2 @ encoding: [0x28,0x71,0x48,0xe2] 2937ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r8, #40, #2 @ encoding: [0x28,0x71,0x48,0xe2] 2938873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6 @ encoding: [0x06,0x40,0x45,0xe0] 2939873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6, lsl #5 @ encoding: [0x86,0x42,0x45,0xe0] 2940873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x45,0xe0] 2941873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6, lsr #5 @ encoding: [0xa6,0x42,0x45,0xe0] 2942873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6, asr #5 @ encoding: [0xc6,0x42,0x45,0xe0] 2943873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r5, r6, ror #5 @ encoding: [0xe6,0x42,0x45,0xe0] 2944873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r7, r8, lsl r9 @ encoding: [0x18,0x69,0x47,0xe0] 2945873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r7, r8, lsr r9 @ encoding: [0x38,0x69,0x47,0xe0] 2946873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r7, r8, asr r9 @ encoding: [0x58,0x69,0x47,0xe0] 2947873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r7, r8, ror r9 @ encoding: [0x78,0x69,0x47,0xe0] 2948873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2949873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 2950873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r5, r5, #61440 @ encoding: [0x0f,0x5a,0x45,0xe2] 2951ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r5, r5, #61440 @ encoding: [0x0f,0x5a,0x45,0xe2] 2952ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r5, r5, #61440 @ encoding: [0x0f,0x5a,0x45,0xe2] 2953ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #16711680 @ encoding: [0xff,0x78,0x47,0xe2] 2954ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x47,0xe2] 2955ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #-2147483638 @ encoding: [0x2a,0x71,0x47,0xe2] 2956ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #40, #2 @ encoding: [0x28,0x71,0x47,0xe2] 2957ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #40, #2 @ encoding: [0x28,0x71,0x47,0xe2 2958ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #40, #2 @ encoding: [0x28,0x71,0x47,0xe2] 2959ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: sub r7, r7, #40, #2 @ encoding: [0x28,0x71,0x47,0xe2] 2960873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5 @ encoding: [0x05,0x40,0x44,0xe0] 2961873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5, lsl #5 @ encoding: [0x85,0x42,0x44,0xe0] 2962873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x44,0xe0] 2963873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5, lsr #5 @ encoding: [0xa5,0x42,0x44,0xe0] 2964873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5, asr #5 @ encoding: [0xc5,0x42,0x44,0xe0] 2965873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r4, r4, r5, ror #5 @ encoding: [0xe5,0x42,0x44,0xe0] 2966873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r6, r7, lsl r9 @ encoding: [0x17,0x69,0x46,0xe0] 2967873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r6, r7, lsr r9 @ encoding: [0x37,0x69,0x46,0xe0] 2968873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x46,0xe0] 2969873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach@ CHECK: sub r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x46,0xe0] 2970873db3eebae3cf1e0931149896f262d17a4dc79dJim Grosbach 29718ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton @ Test right shift by 32, which is encoded as 0 29728ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton sub r3, r1, r2, lsr #32 29738ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton sub r3, r1, r2, asr #32 29748ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: sub r3, r1, r2, lsr #32 @ encoding: [0x22,0x30,0x41,0xe0] 29758ed97ef5f6980c689a5770ec30488601201e17c3Richard Barton@ CHECK: sub r3, r1, r2, asr #32 @ encoding: [0x42,0x30,0x41,0xe0] 2976ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach 2977ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@------------------------------------------------------------------------------ 2978ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ SUBS 2979ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 2980ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, #16711680 2981ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, $16711680 2982ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, 16711680 2983ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, #(0xff << 16) 2984ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, #-2147483638 2985ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, #42, #2 2986ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, #40, #2 2987ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, $40, $2 2988ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, 40, 2 2989ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines subs r7, r8, (20 * 2), (1 << 1) 2990ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 2991ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #16711680 @ encoding: [0xff,0x78,0x58,0xe2] 2992ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #16711680 @ encoding: [0xff,0x78,0x58,0xe2] 2993ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #16711680 @ encoding: [0xff,0x78,0x58,0xe2] 2994ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #16711680 @ encoding: [0xff,0x78,0x58,0xe2] 2995ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x58,0xe2] 2996ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0x58,0xe2] 2997ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x58,0xe2] 2998ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x58,0xe2] 2999ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x58,0xe2] 3000ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: subs r7, r8, #40, #2 @ encoding: [0x28,0x71,0x58,0xe2] 3001ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines 3002ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@------------------------------------------------------------------------------ 3003ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@ SVC 3004ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@------------------------------------------------------------------------------ 3005ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach svc #16 3006ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach svc #0 3007ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach svc #0xffffff 3008ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach 3009ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@ CHECK: svc #16 @ encoding: [0x10,0x00,0x00,0xef] 3010ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@ CHECK: svc #0 @ encoding: [0x00,0x00,0x00,0xef] 3011ed8384806e56952c44f8a717c1ef54a8468d2c8dJim Grosbach@ CHECK: svc #16777215 @ encoding: [0xff,0xff,0xff,0xef] 30124f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach 30134f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach 30144f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@------------------------------------------------------------------------------ 30154f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@ SWP/SWPB 30164f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@------------------------------------------------------------------------------ 30174f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach swp r1, r2, [r3] 30184f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach swp r4, r4, [r6] 30194f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach swpb r5, r1, [r9] 30204f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach 30214f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@ CHECK: swp r1, r2, [r3] @ encoding: [0x92,0x10,0x03,0xe1] 30224f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@ CHECK: swp r4, r4, [r6] @ encoding: [0x94,0x40,0x06,0xe1] 30234f6f13db1a8a491ecab6af64549fbdc23cb5ba56Jim Grosbach@ CHECK: swpb r5, r1, [r9] @ encoding: [0x91,0x50,0x49,0xe1] 30247e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30257e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30267e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30277e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTAB 30287e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30297e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab r2, r3, r4 30307e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab r4, r5, r6, ror #0 30317e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtablt r6, r2, r9, ror #8 30327e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab r5, r1, r4, ror #16 30337e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab r7, r8, r3, ror #24 30347e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30357e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtab r2, r3, r4 @ encoding: [0x74,0x20,0xa3,0xe6] 30367e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtab r4, r5, r6 @ encoding: [0x76,0x40,0xa5,0xe6] 3037356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtablt r6, r2, r9, ror #8 @ encoding: [0x79,0x64,0xa2,0xb6] 3038356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtab r5, r1, r4, ror #16 @ encoding: [0x74,0x58,0xa1,0xe6] 3039356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtab r7, r8, r3, ror #24 @ encoding: [0x73,0x7c,0xa8,0xe6] 30407e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30417e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30427e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30437e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTAB16 30447e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30457e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab16ge r0, r1, r4 30467e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab16 r6, r2, r7, ror #0 30477e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab16 r3, r5, r8, ror #8 30487e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab16 r3, r2, r1, ror #16 30497e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtab16eq r1, r2, r3, ror #24 30507e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30517e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtab16ge r0, r1, r4 @ encoding: [0x74,0x00,0x81,0xa6] 30527e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtab16 r6, r2, r7 @ encoding: [0x77,0x60,0x82,0xe6] 3053356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtab16 r3, r5, r8, ror #8 @ encoding: [0x78,0x34,0x85,0xe6] 3054356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtab16 r3, r2, r1, ror #16 @ encoding: [0x71,0x38,0x82,0xe6] 3055356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtab16eq r1, r2, r3, ror #24 @ encoding: [0x73,0x1c,0x82,0x06] 30567e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30577e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30587e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTAH 30597e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30607e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtah r1, r3, r9 30617e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtahhi r6, r1, r6, ror #0 30627e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtah r3, r8, r3, ror #8 30637e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtahlo r2, r2, r4, ror #16 30647e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtah r9, r3, r3, ror #24 30657e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30667e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtah r1, r3, r9 @ encoding: [0x79,0x10,0xb3,0xe6] 30677e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtahhi r6, r1, r6 @ encoding: [0x76,0x60,0xb1,0x86] 3068356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtah r3, r8, r3, ror #8 @ encoding: [0x73,0x34,0xb8,0xe6] 3069356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtahlo r2, r2, r4, ror #16 @ encoding: [0x74,0x28,0xb2,0x36] 3070356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtah r9, r3, r3, ror #24 @ encoding: [0x73,0x9c,0xb3,0xe6] 30717e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30727e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30737e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTB 30747e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30757e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtbge r2, r4 30767e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb r5, r6, ror #0 30777e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb r6, r9, ror #8 30787e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtbcc r5, r1, ror #16 30797e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb r8, r3, ror #24 30807e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30817e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtbge r2, r4 @ encoding: [0x74,0x20,0xaf,0xa6] 30827e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtb r5, r6 @ encoding: [0x76,0x50,0xaf,0xe6] 3083356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtb r6, r9, ror #8 @ encoding: [0x79,0x64,0xaf,0xe6] 3084356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtblo r5, r1, ror #16 @ encoding: [0x71,0x58,0xaf,0x36] 3085356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtb r8, r3, ror #24 @ encoding: [0x73,0x8c,0xaf,0xe6] 30867e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30877e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30887e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30897e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTB16 30907e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 30917e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb16 r1, r4 30927e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb16 r6, r7, ror #0 30937e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb16cs r3, r5, ror #8 30947e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb16 r3, r1, ror #16 30957e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxtb16ge r2, r3, ror #24 30967e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 30977e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtb16 r1, r4 @ encoding: [0x74,0x10,0x8f,0xe6] 30987e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxtb16 r6, r7 @ encoding: [0x77,0x60,0x8f,0xe6] 3099356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtb16hs r3, r5, ror #8 @ encoding: [0x75,0x34,0x8f,0x26] 3100356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtb16 r3, r1, ror #16 @ encoding: [0x71,0x38,0x8f,0xe6] 3101356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxtb16ge r2, r3, ror #24 @ encoding: [0x73,0x2c,0x8f,0xa6] 31027e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 31037e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 31047e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 31057e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ SXTH 31067e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@------------------------------------------------------------------------------ 31077e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxthne r3, r9 31087e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxth r1, r6, ror #0 31097e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxth r3, r8, ror #8 31107e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxthle r2, r2, ror #16 31117e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach sxth r9, r3, ror #24 31127e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach 31137e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxthne r3, r9 @ encoding: [0x79,0x30,0xbf,0x16] 31147e1547ebf726a40e7ed3dbe89a77e1b946a8e2d0Jim Grosbach@ CHECK: sxth r1, r6 @ encoding: [0x76,0x10,0xbf,0xe6] 3115356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxth r3, r8, ror #8 @ encoding: [0x78,0x34,0xbf,0xe6] 3116356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxthle r2, r2, ror #16 @ encoding: [0x72,0x28,0xbf,0xd6] 3117356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: sxth r9, r3, ror #24 @ encoding: [0x73,0x9c,0xbf,0xe6] 3118f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach 3119f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach 3120f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@------------------------------------------------------------------------------ 3121f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ TEQ 3122f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@------------------------------------------------------------------------------ 3123f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r5, #0xf000 3124ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r5, $0xf000 3125ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r5, 0xf000 3126ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, #(0xff << 16) 3127ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, #-2147483638 3128ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, #42, #2 3129ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, #40, #2 3130ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, $40, $2 3131ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, 40, 2 3132ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines teq r7, (20 * 2), (1 << 1) 3133f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5 3134f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5, lsl #5 3135f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5, lsr #5 3136f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5, lsr #5 3137f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5, asr #5 3138f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r4, r5, ror #5 3139f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r6, r7, lsl r9 3140f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r6, r7, lsr r9 3141f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r6, r7, asr r9 3142f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach teq r6, r7, ror r9 3143f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach 3144f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r5, #61440 @ encoding: [0x0f,0x0a,0x35,0xe3] 3145ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r5, #61440 @ encoding: [0x0f,0x0a,0x35,0xe3] 3146ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r5, #61440 @ encoding: [0x0f,0x0a,0x35,0xe3] 3147ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #16711680 @ encoding: [0xff,0x08,0x37,0xe3] 3148ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #-2147483638 @ encoding: [0x2a,0x01,0x37,0xe3] 3149ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #-2147483638 @ encoding: [0x2a,0x01,0x37,0xe3] 3150ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #40, #2 @ encoding: [0x28,0x01,0x37,0xe3] 3151ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #40, #2 @ encoding: [0x28,0x01,0x37,0xe3] 3152ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #40, #2 @ encoding: [0x28,0x01,0x37,0xe3] 3153ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: teq r7, #40, #2 @ encoding: [0x28,0x01,0x37,0xe3] 3154f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5 @ encoding: [0x05,0x00,0x34,0xe1] 3155f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5, lsl #5 @ encoding: [0x85,0x02,0x34,0xe1] 3156f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5, lsr #5 @ encoding: [0xa5,0x02,0x34,0xe1] 3157f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5, lsr #5 @ encoding: [0xa5,0x02,0x34,0xe1] 3158f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5, asr #5 @ encoding: [0xc5,0x02,0x34,0xe1] 3159f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r4, r5, ror #5 @ encoding: [0xe5,0x02,0x34,0xe1] 3160f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r6, r7, lsl r9 @ encoding: [0x17,0x09,0x36,0xe1] 3161f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r6, r7, lsr r9 @ encoding: [0x37,0x09,0x36,0xe1] 3162f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r6, r7, asr r9 @ encoding: [0x57,0x09,0x36,0xe1] 3163f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach@ CHECK: teq r6, r7, ror r9 @ encoding: [0x77,0x09,0x36,0xe1] 3164f1ae78af1796ec122e3cf75ab4826495eb5a4e8dJim Grosbach 31658b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach 31668b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@------------------------------------------------------------------------------ 31678b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ TST 31688b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@------------------------------------------------------------------------------ 31698b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r5, #0xf000 3170ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r5, $0xf000 3171ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r5, 0xf000 3172ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, #(0xff << 16) 3173ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, #-2147483638 3174ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, #42, #2 3175ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, #40, #2 3176ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, $40, $2 3177ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, 40, 2 3178ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines tst r7, (20 * 2), (1 << 1) 31798b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5 31808b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5, lsl #5 31818b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5, lsr #5 31828b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5, lsr #5 31838b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5, asr #5 31848b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r4, r5, ror #5 31858b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r6, r7, lsl r9 31868b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r6, r7, lsr r9 31878b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r6, r7, asr r9 31888b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach tst r6, r7, ror r9 31898b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach 31908b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r5, #61440 @ encoding: [0x0f,0x0a,0x15,0xe3] 3191ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r5, #61440 @ encoding: [0x0f,0x0a,0x15,0xe3] 3192ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r5, #61440 @ encoding: [0x0f,0x0a,0x15,0xe3] 3193ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #16711680 @ encoding: [0xff,0x08,0x17,0xe3] 3194ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #-2147483638 @ encoding: [0x2a,0x01,0x17,0xe3] 3195ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #-2147483638 @ encoding: [0x2a,0x01,0x17,0xe3] 3196ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #40, #2 @ encoding: [0x28,0x01,0x17,0xe3] 3197ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #40, #2 @ encoding: [0x28,0x01,0x17,0xe3] 3198ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #40, #2 @ encoding: [0x28,0x01,0x17,0xe3] 3199ebe69fe11e48d322045d5949c83283927a0d790bStephen Hines@ CHECK: tst r7, #40, #2 @ encoding: [0x28,0x01,0x17,0xe3] 32008b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5 @ encoding: [0x05,0x00,0x14,0xe1] 32018b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5, lsl #5 @ encoding: [0x85,0x02,0x14,0xe1] 32028b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5, lsr #5 @ encoding: [0xa5,0x02,0x14,0xe1] 32038b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5, lsr #5 @ encoding: [0xa5,0x02,0x14,0xe1] 32048b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5, asr #5 @ encoding: [0xc5,0x02,0x14,0xe1] 32058b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r4, r5, ror #5 @ encoding: [0xe5,0x02,0x14,0xe1] 32068b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r6, r7, lsl r9 @ encoding: [0x17,0x09,0x16,0xe1] 32078b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r6, r7, lsr r9 @ encoding: [0x37,0x09,0x16,0xe1] 32088b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r6, r7, asr r9 @ encoding: [0x57,0x09,0x16,0xe1] 32098b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach@ CHECK: tst r6, r7, ror r9 @ encoding: [0x77,0x09,0x16,0xe1] 32108b3fd56e0f61038ea45b0d1eaff57196d80579aaJim Grosbach 3211b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3212b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@------------------------------------------------------------------------------ 3213b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ UADD16/UADD8 3214b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@------------------------------------------------------------------------------ 3215b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uadd16 r1, r2, r3 3216b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uadd16gt r1, r2, r3 3217b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uadd8 r1, r2, r3 3218b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uadd8le r1, r2, r3 3219b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3220b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uadd16 r1, r2, r3 @ encoding: [0x13,0x1f,0x52,0xe6] 3221b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uadd16gt r1, r2, r3 @ encoding: [0x13,0x1f,0x52,0xc6] 3222b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uadd8 r1, r2, r3 @ encoding: [0x93,0x1f,0x52,0xe6] 3223b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uadd8le r1, r2, r3 @ encoding: [0x93,0x1f,0x52,0xd6] 3224b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3225b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3226b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@------------------------------------------------------------------------------ 3227b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ UASX 3228b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@------------------------------------------------------------------------------ 3229b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uasx r9, r12, r0 3230b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach uasxeq r9, r12, r0 3231b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3232b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uasx r9, r12, r0 @ encoding: [0x30,0x9f,0x5c,0xe6] 3233b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach@ CHECK: uasxeq r9, r12, r0 @ encoding: [0x30,0x9f,0x5c,0x06] 3234b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3235b6854ad2b1aad78660e7a3421d9c0dbdeaa3c975Jim Grosbach 3236fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@------------------------------------------------------------------------------ 3237fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ UBFX 3238fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@------------------------------------------------------------------------------ 3239fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach ubfx r4, r5, #16, #1 3240fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach ubfxgt r4, r5, #16, #16 3241fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach 3242fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ CHECK: ubfx r4, r5, #16, #1 @ encoding: [0x55,0x48,0xe0,0xe7] 3243fb8989e64024547e4ad5ab6fe4d94fe146a7899fJim Grosbach@ CHECK: ubfxgt r4, r5, #16, #16 @ encoding: [0x55,0x48,0xef,0xc7] 324466c898224456990e511b71e498046736c0478079Jim Grosbach 324566c898224456990e511b71e498046736c0478079Jim Grosbach 324666c898224456990e511b71e498046736c0478079Jim Grosbach@------------------------------------------------------------------------------ 324766c898224456990e511b71e498046736c0478079Jim Grosbach@ UHADD16/UHADD8 324866c898224456990e511b71e498046736c0478079Jim Grosbach@------------------------------------------------------------------------------ 324966c898224456990e511b71e498046736c0478079Jim Grosbach uhadd16 r4, r8, r2 325066c898224456990e511b71e498046736c0478079Jim Grosbach uhadd16gt r4, r8, r2 325166c898224456990e511b71e498046736c0478079Jim Grosbach uhadd8 r4, r8, r2 325266c898224456990e511b71e498046736c0478079Jim Grosbach uhadd8gt r4, r8, r2 325366c898224456990e511b71e498046736c0478079Jim Grosbach 325466c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhadd16 r4, r8, r2 @ encoding: [0x12,0x4f,0x78,0xe6] 325566c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhadd16gt r4, r8, r2 @ encoding: [0x12,0x4f,0x78,0xc6] 325666c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhadd8 r4, r8, r2 @ encoding: [0x92,0x4f,0x78,0xe6] 325766c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhadd8gt r4, r8, r2 @ encoding: [0x92,0x4f,0x78,0xc6] 325866c898224456990e511b71e498046736c0478079Jim Grosbach 325966c898224456990e511b71e498046736c0478079Jim Grosbach 326066c898224456990e511b71e498046736c0478079Jim Grosbach@------------------------------------------------------------------------------ 326166c898224456990e511b71e498046736c0478079Jim Grosbach@ UHASX 326266c898224456990e511b71e498046736c0478079Jim Grosbach@------------------------------------------------------------------------------ 326366c898224456990e511b71e498046736c0478079Jim Grosbach uhasx r4, r8, r2 326466c898224456990e511b71e498046736c0478079Jim Grosbach uhasxgt r4, r8, r2 326566c898224456990e511b71e498046736c0478079Jim Grosbach 326666c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhasx r4, r8, r2 @ encoding: [0x32,0x4f,0x78,0xe6] 326766c898224456990e511b71e498046736c0478079Jim Grosbach@ CHECK: uhasxgt r4, r8, r2 @ encoding: [0x32,0x4f,0x78,0xc6] 326866c898224456990e511b71e498046736c0478079Jim Grosbach 326966c898224456990e511b71e498046736c0478079Jim Grosbach 3270f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@------------------------------------------------------------------------------ 3271f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@ UHSUB16/UHSUB8 3272f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@------------------------------------------------------------------------------ 3273f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach uhsub16 r4, r8, r2 3274f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach uhsub16gt r4, r8, r2 3275f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach uhsub8 r4, r8, r2 3276f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach uhsub8gt r4, r8, r2 3277f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach 3278f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@ CHECK: uhsub16 r4, r8, r2 @ encoding: [0x72,0x4f,0x78,0xe6] 3279f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@ CHECK: uhsub16gt r4, r8, r2 @ encoding: [0x72,0x4f,0x78,0xc6] 3280f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@ CHECK: uhsub8 r4, r8, r2 @ encoding: [0xf2,0x4f,0x78,0xe6] 3281f36b0a2ee4fe1e67778b60daf6020574e62ca672Jim Grosbach@ CHECK: uhsub8gt r4, r8, r2 @ encoding: [0xf2,0x4f,0x78,0xc6] 32822adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach 32832adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach 32842adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach@------------------------------------------------------------------------------ 32852adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach@ UMAAL 32862adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach@------------------------------------------------------------------------------ 32872adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach umaal r3, r4, r5, r6 32882adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach umaallt r3, r4, r5, r6 32892adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach 32905df7ef6cdbdaaa6bf3bf12b959557a44fbf250a6Owen Anderson@ CHECK: umaal r3, r4, r5, r6 @ encoding: [0x95,0x36,0x44,0xe0] 32919c6712721c114f8e67b9a6b3cb1dd5d18b4cb435Jim Grosbach@ CHECK: umaallt r3, r4, r5, r6 @ encoding: [0x95,0x36,0x44,0xb0] 32922adba4156b83bd005bb704908bb36697e1ecabdaJim Grosbach 329371725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach 329471725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@------------------------------------------------------------------------------ 329571725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@ UMLAL 329671725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@------------------------------------------------------------------------------ 329771725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach umlal r2, r4, r6, r8 329871725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach umlalgt r6, r1, r2, r6 329971725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach umlals r2, r9, r2, r3 330071725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach umlalseq r3, r5, r1, r2 330171725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach 330271725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@ CHECK: umlal r2, r4, r6, r8 @ encoding: [0x96,0x28,0xa4,0xe0] 330371725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@ CHECK: umlalgt r6, r1, r2, r6 @ encoding: [0x92,0x66,0xa1,0xc0] 330471725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@ CHECK: umlals r2, r9, r2, r3 @ encoding: [0x92,0x23,0xb9,0xe0] 330571725a099e6d0cba24a63f9c9063f6efee3bf76eJim Grosbach@ CHECK: umlalseq r3, r5, r1, r2 @ encoding: [0x91,0x32,0xb5,0x00] 330649f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach 330749f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach 330849f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@------------------------------------------------------------------------------ 330949f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@ UMULL 331049f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@------------------------------------------------------------------------------ 331149f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach umull r2, r4, r6, r8 331249f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach umullgt r6, r1, r2, r6 331349f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach umulls r2, r9, r2, r3 331449f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach umullseq r3, r5, r1, r2 331549f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach 331649f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@ CHECK: umull r2, r4, r6, r8 @ encoding: [0x96,0x28,0x84,0xe0] 331749f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@ CHECK: umullgt r6, r1, r2, r6 @ encoding: [0x92,0x66,0x81,0xc0] 331849f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@ CHECK: umulls r2, r9, r2, r3 @ encoding: [0x92,0x23,0x99,0xe0] 331949f2ceddd25c75373f8a39fa25e8b9db33bcdaccJim Grosbach@ CHECK: umullseq r3, r5, r1, r2 @ encoding: [0x91,0x32,0x95,0x00] 332024a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach 332124a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach 332224a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@------------------------------------------------------------------------------ 332324a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@ UQADD16/UQADD8 332424a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@------------------------------------------------------------------------------ 332524a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach uqadd16 r1, r2, r3 332624a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach uqadd16gt r4, r7, r9 332724a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach uqadd8 r3, r4, r8 332824a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach uqadd8le r8, r1, r2 332924a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach 333024a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach 333124a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@ CHECK: uqadd16 r1, r2, r3 @ encoding: [0x13,0x1f,0x62,0xe6] 333224a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@ CHECK: uqadd16gt r4, r7, r9 @ encoding: [0x19,0x4f,0x67,0xc6] 333324a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@ CHECK: uqadd8 r3, r4, r8 @ encoding: [0x98,0x3f,0x64,0xe6] 333424a541b79fb9694b6edf19ee288b7c9063653512Jim Grosbach@ CHECK: uqadd8le r8, r1, r2 @ encoding: [0x92,0x8f,0x61,0xd6] 333529e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 333629e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 333729e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@------------------------------------------------------------------------------ 333829e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ UQASX 333929e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@------------------------------------------------------------------------------ 334029e85bc7285337973924501cad7e7effafd91e65Jim Grosbach uqasx r2, r4, r1 334129e85bc7285337973924501cad7e7effafd91e65Jim Grosbach uqasxhi r5, r2, r9 334229e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 334329e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ CHECK: uqasx r2, r4, r1 @ encoding: [0x31,0x2f,0x64,0xe6] 334429e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ CHECK: uqasxhi r5, r2, r9 @ encoding: [0x39,0x5f,0x62,0x86] 334529e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 334629e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 334729e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@------------------------------------------------------------------------------ 334829e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ UQSAX 334929e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@------------------------------------------------------------------------------ 335029e85bc7285337973924501cad7e7effafd91e65Jim Grosbach uqsax r1, r3, r7 335129e85bc7285337973924501cad7e7effafd91e65Jim Grosbach uqsaxal r3, r6, r2 335229e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 335329e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ CHECK: uqsax r1, r3, r7 @ encoding: [0x57,0x1f,0x63,0xe6] 335429e85bc7285337973924501cad7e7effafd91e65Jim Grosbach@ CHECK: uqsax r3, r6, r2 @ encoding: [0x52,0x3f,0x66,0xe6] 335529e85bc7285337973924501cad7e7effafd91e65Jim Grosbach 3356144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach 3357144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@------------------------------------------------------------------------------ 3358144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@ UQSUB16/UQSUB8 3359144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@------------------------------------------------------------------------------ 3360144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach uqsub16 r1, r5, r3 3361144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach uqsub16gt r3, r2, r5 3362144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach uqsub8 r2, r1, r4 3363144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach uqsub8le r4, r6, r9 3364144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach 3365144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@ CHECK: uqsub16 r1, r5, r3 @ encoding: [0x73,0x1f,0x65,0xe6] 3366144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@ CHECK: uqsub16gt r3, r2, r5 @ encoding: [0x75,0x3f,0x62,0xc6] 3367144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@ CHECK: uqsub8 r2, r1, r4 @ encoding: [0xf4,0x2f,0x61,0xe6] 3368144da2c8f03834e76ddb617498be7ed864a5c192Jim Grosbach@ CHECK: uqsub8le r4, r6, r9 @ encoding: [0xf9,0x4f,0x66,0xd6] 33695f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach 33705f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach 33715f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@------------------------------------------------------------------------------ 33725f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@ USADA8/USAD8 33735f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@------------------------------------------------------------------------------ 33745f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach usad8 r2, r1, r4 33755f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach usad8le r4, r6, r9 33765f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach usada8 r1, r5, r3, r7 33775f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach usada8gt r3, r2, r5, r1 33785f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach 33795f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@ CHECK: usad8 r2, r1, r4 @ encoding: [0x11,0xf4,0x82,0xe7] 33805f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@ CHECK: usad8le r4, r6, r9 @ encoding: [0x16,0xf9,0x84,0xd7] 33815f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@ CHECK: usada8 r1, r5, r3, r7 @ encoding: [0x15,0x73,0x81,0xe7] 33825f33d13da41f55e7421eee3bbfa410d07bd7af19Jim Grosbach@ CHECK: usada8gt r3, r2, r5, r1 @ encoding: [0x12,0x15,0x83,0xc7] 3383addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach 3384addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach 3385addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@------------------------------------------------------------------------------ 3386addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ USAT 3387addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@------------------------------------------------------------------------------ 3388fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat r8, #1, r10 3389fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat r8, #4, r10, lsl #0 3390fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat r8, #5, r10, lsl #31 3391fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat r8, #31, r10, asr #32 3392fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat r8, #16, r10, asr #1 3393addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach 3394addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ CHECK: usat r8, #1, r10 @ encoding: [0x1a,0x80,0xe1,0xe6] 3395addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ CHECK: usat r8, #4, r10 @ encoding: [0x1a,0x80,0xe4,0xe6] 3396addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ CHECK: usat r8, #5, r10, lsl #31 @ encoding: [0x9a,0x8f,0xe5,0xe6] 3397addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ CHECK: usat r8, #31, r10, asr #32 @ encoding: [0x5a,0x80,0xff,0xe6] 3398addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ CHECK: usat r8, #16, r10, asr #1 @ encoding: [0xda,0x80,0xf0,0xe6] 3399addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach 3400ae13ba774083ef328a08290af649b4cd1156b40aJim Grosbach 3401addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@------------------------------------------------------------------------------ 3402addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@ USAT16 3403addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach@------------------------------------------------------------------------------ 3404fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat16 r2, #2, r7 3405fc2eb31a3c054f9611a2e88238fbb5a8842064a6Jim Grosbach usat16 r3, #15, r5 3406addec77b54fd77e99fd01f462a3fb8c3c89066faJim Grosbach 3407c69c26d95e4dcffb3ab98c49f3672386b401d0f9Jim Grosbach@ CHECK: usat16 r2, #2, r7 @ encoding: [0x37,0x2f,0xe2,0xe6] 3408c69c26d95e4dcffb3ab98c49f3672386b401d0f9Jim Grosbach@ CHECK: usat16 r3, #15, r5 @ encoding: [0x35,0x3f,0xef,0xe6] 3409953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach 3410953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach 3411953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach@------------------------------------------------------------------------------ 3412953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach@ USAX 3413953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach@------------------------------------------------------------------------------ 3414953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach usax r2, r3, r4 3415953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach usaxne r2, r3, r4 3416953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach 3417953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach@ CHECK: usax r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0xe6] 3418953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach@ CHECK: usaxne r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0x16] 3419953e2e81dec27fe40315100714eb15c967a9fc1eJim Grosbach 3420ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@------------------------------------------------------------------------------ 3421ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@ USUB16/USUB8 3422ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@------------------------------------------------------------------------------ 3423ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach usub16 r4, r2, r7 3424ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach usub16hi r1, r1, r3 3425ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach usub8 r1, r8, r5 3426ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach usub8le r9, r2, r3 3427ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach 3428ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@ CHECK: usub16 r4, r2, r7 @ encoding: [0x77,0x4f,0x52,0xe6] 3429ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@ CHECK: usub16hi r1, r1, r3 @ encoding: [0x73,0x1f,0x51,0x86] 3430ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@ CHECK: usub8 r1, r8, r5 @ encoding: [0xf5,0x1f,0x58,0xe6] 3431ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach@ CHECK: usub8le r9, r2, r3 @ encoding: [0xf3,0x9f,0x52,0xd6] 3432ed398468b51c6eb5b2c9a5bccc8669854cf589a8Jim Grosbach 34338050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34348050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34358050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTAB 34368050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34378050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab r2, r3, r4 34388050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab r4, r5, r6, ror #0 34398050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtablt r6, r2, r9, ror #8 34408050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab r5, r1, r4, ror #16 34418050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab r7, r8, r3, ror #24 34428050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34438050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtab r2, r3, r4 @ encoding: [0x74,0x20,0xe3,0xe6] 34448050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtab r4, r5, r6 @ encoding: [0x76,0x40,0xe5,0xe6] 3445356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtablt r6, r2, r9, ror #8 @ encoding: [0x79,0x64,0xe2,0xb6] 3446356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtab r5, r1, r4, ror #16 @ encoding: [0x74,0x58,0xe1,0xe6] 3447356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtab r7, r8, r3, ror #24 @ encoding: [0x73,0x7c,0xe8,0xe6] 34488050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34498050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34508050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34518050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTAB16 34528050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34538050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab16ge r0, r1, r4 34548050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab16 r6, r2, r7, ror #0 34558050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab16 r3, r5, r8, ror #8 34568050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab16 r3, r2, r1, ror #16 34578050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtab16eq r1, r2, r3, ror #24 34588050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34598050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtab16ge r0, r1, r4 @ encoding: [0x74,0x00,0xc1,0xa6] 34608050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtab16 r6, r2, r7 @ encoding: [0x77,0x60,0xc2,0xe6] 3461356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtab16 r3, r5, r8, ror #8 @ encoding: [0x78,0x34,0xc5,0xe6] 3462356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtab16 r3, r2, r1, ror #16 @ encoding: [0x71,0x38,0xc2,0xe6] 3463356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtab16eq r1, r2, r3, ror #24 @ encoding: [0x73,0x1c,0xc2,0x06] 34648050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 3465ae13ba774083ef328a08290af649b4cd1156b40aJim Grosbach 34668050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34678050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTAH 34688050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34698050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtah r1, r3, r9 34708050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtahhi r6, r1, r6, ror #0 34718050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtah r3, r8, r3, ror #8 34728050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtahlo r2, r2, r4, ror #16 34738050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtah r9, r3, r3, ror #24 34748050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34758050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtah r1, r3, r9 @ encoding: [0x79,0x10,0xf3,0xe6] 34768050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtahhi r6, r1, r6 @ encoding: [0x76,0x60,0xf1,0x86] 3477356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtah r3, r8, r3, ror #8 @ encoding: [0x73,0x34,0xf8,0xe6] 3478356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtahlo r2, r2, r4, ror #16 @ encoding: [0x74,0x28,0xf2,0x36] 3479356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtah r9, r3, r3, ror #24 @ encoding: [0x73,0x9c,0xf3,0xe6] 34808050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34818050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34828050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTB 34838050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34848050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtbge r2, r4 34858050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb r5, r6, ror #0 34868050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb r6, r9, ror #8 34878050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtbcc r5, r1, ror #16 34888050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb r8, r3, ror #24 34898050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34908050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtbge r2, r4 @ encoding: [0x74,0x20,0xef,0xa6] 34918050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtb r5, r6 @ encoding: [0x76,0x50,0xef,0xe6] 3492356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtb r6, r9, ror #8 @ encoding: [0x79,0x64,0xef,0xe6] 3493356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtblo r5, r1, ror #16 @ encoding: [0x71,0x58,0xef,0x36] 3494356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtb r8, r3, ror #24 @ encoding: [0x73,0x8c,0xef,0xe6] 34958050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34968050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 34978050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 34988050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTB16 34998050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 35008050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb16 r1, r4 35018050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb16 r6, r7, ror #0 35028050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb16cs r3, r5, ror #8 35038050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb16 r3, r1, ror #16 35048050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxtb16ge r2, r3, ror #24 35058050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 35068050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtb16 r1, r4 @ encoding: [0x74,0x10,0xcf,0xe6] 35078050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxtb16 r6, r7 @ encoding: [0x77,0x60,0xcf,0xe6] 3508356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtb16hs r3, r5, ror #8 @ encoding: [0x75,0x34,0xcf,0x26] 3509356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtb16 r3, r1, ror #16 @ encoding: [0x71,0x38,0xcf,0xe6] 3510356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxtb16ge r2, r3, ror #24 @ encoding: [0x73,0x2c,0xcf,0xa6] 35118050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 35128050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 35138050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 35148050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ UXTH 35158050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@------------------------------------------------------------------------------ 35168050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxthne r3, r9 35178050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxth r1, r6, ror #0 35188050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxth r3, r8, ror #8 35198050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxthle r2, r2, ror #16 35208050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach uxth r9, r3, ror #24 35218050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 35228050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxthne r3, r9 @ encoding: [0x79,0x30,0xff,0x16] 35238050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach@ CHECK: uxth r1, r6 @ encoding: [0x76,0x10,0xff,0xe6] 3524356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxth r3, r8, ror #8 @ encoding: [0x78,0x34,0xff,0xe6] 3525356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxthle r2, r2, ror #16 @ encoding: [0x72,0x28,0xff,0xd6] 3526356c759908e1c6b968293d54bc4aa26bc8415407Jim Grosbach@ CHECK: uxth r9, r3, ror #24 @ encoding: [0x73,0x9c,0xff,0xe6] 35278050a619145f30cdfee9c6ae1c5bdb1a32a4a71eJim Grosbach 3528ae13ba774083ef328a08290af649b4cd1156b40aJim Grosbach 352919b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach@------------------------------------------------------------------------------ 353019b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach@ WFE/WFI/YIELD 353119b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach@------------------------------------------------------------------------------ 353219b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach wfe 353319b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach wfehi 353419b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach wfi 353519b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach wfilt 353619b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach yield 353719b9d6912ab4d61666d5eed0a9c7d407d564ce1dJim Grosbach yieldne 35387e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach hint #4 35397e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach hint #3 35407e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach hint #2 35417e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach hint #1 35427e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach hint #0 3543b161955ffbda5ccb5293e0c76ef982acb6ec6661Artyom Skrobov hintgt #239 35447e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach 35457e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] 35467e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfehi @ encoding: [0x02,0xf0,0x20,0x83] 35477e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfi @ encoding: [0x03,0xf0,0x20,0xe3] 35487e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfilt @ encoding: [0x03,0xf0,0x20,0xb3] 35497e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] 35507e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: yieldne @ encoding: [0x01,0xf0,0x20,0x13] 35517e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: sev @ encoding: [0x04,0xf0,0x20,0xe3] 35527e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfi @ encoding: [0x03,0xf0,0x20,0xe3] 35537e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] 35547e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] 35557e99a60857532ca2973cf9dabc790d84a2e15a8aJim Grosbach@ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] 3556b161955ffbda5ccb5293e0c76ef982acb6ec6661Artyom Skrobov@ CHECK: hintgt #239 @ encoding: [0xef,0xf0,0x20,0xc3] 3557