@@ -269,7 +269,8 @@ qc.ext x27, x6, 31, 41
269269qc.ext x27, x6, 31 , 1
270270
271271
272- # CHECK: :[[@LINE+1]]:14: error: invalid operand for instruction
272+ # CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding t6 (x31)
273+ # CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction
273274qc.extdu x1, 8 , 8 , 8
274275
275276# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction
@@ -289,7 +290,8 @@ qc.extdu x1, x8, 8, 78
289290qc.extdu x1, x8, 8 , 8
290291
291292
292- # CHECK: :[[@LINE+1]]:14: error: invalid operand for instruction
293+ # CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding t6 (x31)
294+ # CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction
293295qc.extd x13, 21 , 10 , 15
294296
295297# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction
@@ -396,6 +398,10 @@ qc.extdur x9, x19
396398# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction
397399qc.extdur x0, x19, x29
398400
401+ # CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding t6 (x31)
402+ # CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction
403+ qc.extdur x9, x31, x29
404+
399405# CHECK-PLUS: :[[@LINE+2]]:20: error: register must be a GPR excluding zero (x0)
400406# CHECK-MINUS: :[[@LINE+1]]:20: error: invalid operand for instruction
401407qc.extdur x9, x19, x0
@@ -406,21 +412,25 @@ qc.extdur x9, x19, x29
406412
407413# CHECK-PLUS: :[[@LINE+2]]:20: error: register must be a GPR excluding zero (x0)
408414# CHECK-MINUS: :[[@LINE+1]]:20: error: invalid operand for instruction
409- qc.extdr x12, x31 , 30
415+ qc.extdr x12, x29 , 30
410416
411417# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction
412- qc.extdr x12, x31
418+ qc.extdr x12, x29
413419
414420# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)
415421# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction
416- qc.extdr x0, x31, x30
422+ qc.extdr x0, x29, x30
423+
424+ # CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding t6 (x31)
425+ # CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction
426+ qc.extdr x12, x31, x30
417427
418428# CHECK-PLUS: :[[@LINE+2]]:20: error: register must be a GPR excluding zero (x0)
419429# CHECK-MINUS: :[[@LINE+1]]:20: error: invalid operand for instruction
420- qc.extdr x12, x31 , x0
430+ qc.extdr x12, x29 , x0
421431
422432# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcibm' (Qualcomm uC Bit Manipulation Extension)
423- qc.extdr x12, x31 , x30
433+ qc.extdr x12, x29 , x30
424434
425435
426436# CHECK-PLUS: :[[@LINE+2]]:22: error: register must be a GPR excluding zero (x0)
@@ -434,6 +444,10 @@ qc.extdupr x13, x23
434444# CHECK-MINUS: :[[@LINE+1]]:12: error: invalid operand for instruction
435445qc.extdupr x0, x23, x3
436446
447+ # CHECK-PLUS: :[[@LINE+2]]:17: error: register must be a GPR excluding t6 (x31)
448+ # CHECK-MINUS: :[[@LINE+1]]:17: error: invalid operand for instruction
449+ qc.extdupr x13, x31, x3
450+
437451# CHECK-PLUS: :[[@LINE+2]]:22: error: register must be a GPR excluding zero (x0)
438452# CHECK-MINUS: :[[@LINE+1]]:22: error: invalid operand for instruction
439453qc.extdupr x13, x23, x0
@@ -453,6 +467,10 @@ qc.extduprh x18, x8
453467# CHECK-MINUS: :[[@LINE+1]]:13: error: invalid operand for instruction
454468qc.extduprh x0, x8, x9
455469
470+ # CHECK-PLUS: :[[@LINE+2]]:18: error: register must be a GPR excluding t6 (x31)
471+ # CHECK-MINUS: :[[@LINE+1]]:18: error: invalid operand for instruction
472+ qc.extduprh x18, x31, x9
473+
456474# CHECK-PLUS: :[[@LINE+2]]:22: error: register must be a GPR excluding zero (x0)
457475# CHECK-MINUS: :[[@LINE+1]]:22: error: invalid operand for instruction
458476qc.extduprh x18, x8, x0
@@ -472,6 +490,10 @@ qc.extdpr x1, x4
472490# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction
473491qc.extdpr x0, x4, x15
474492
493+ # CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding t6 (x31)
494+ # CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction
495+ qc.extdpr x1, x31, x15
496+
475497# CHECK-PLUS: :[[@LINE+2]]:19: error: register must be a GPR excluding zero (x0)
476498# CHECK-MINUS: :[[@LINE+1]]:19: error: invalid operand for instruction
477499qc.extdpr x1, x4, x0
@@ -491,6 +513,10 @@ qc.extdprh x6, x24
491513# CHECK-MINUS: :[[@LINE+1]]:12: error: invalid operand for instruction
492514qc.extdprh x0, x24, x25
493515
516+ # CHECK-PLUS: :[[@LINE+2]]:16: error: register must be a GPR excluding t6 (x31)
517+ # CHECK-MINUS: :[[@LINE+1]]:16: error: invalid operand for instruction
518+ qc.extdprh x6, x31, x25
519+
494520# CHECK-PLUS: :[[@LINE+2]]:21: error: register must be a GPR excluding zero (x0)
495521# CHECK-MINUS: :[[@LINE+1]]:21: error: invalid operand for instruction
496522qc.extdprh x6, x24, x0
0 commit comments