@@ -2555,6 +2555,14 @@ unsigned AArch64InstrInfo::getLoadStoreImmIdx(unsigned Opc) {
2555
2555
case AArch64::ST4H_IMM:
2556
2556
case AArch64::ST4W_IMM:
2557
2557
case AArch64::STGPi:
2558
+ case AArch64::STGPreIndex:
2559
+ case AArch64::STZGPreIndex:
2560
+ case AArch64::ST2GPreIndex:
2561
+ case AArch64::STZ2GPreIndex:
2562
+ case AArch64::STGPostIndex:
2563
+ case AArch64::STZGPostIndex:
2564
+ case AArch64::ST2GPostIndex:
2565
+ case AArch64::STZ2GPostIndex:
2558
2566
case AArch64::STNPDi:
2559
2567
case AArch64::STNPQi:
2560
2568
case AArch64::STNPSi:
@@ -2598,6 +2606,8 @@ unsigned AArch64InstrInfo::getLoadStoreImmIdx(unsigned Opc) {
2598
2606
case AArch64::LDPWpre:
2599
2607
case AArch64::LDPXpost:
2600
2608
case AArch64::LDPXpre:
2609
+ case AArch64::STGPpre:
2610
+ case AArch64::STGPpost:
2601
2611
case AArch64::STPDpost:
2602
2612
case AArch64::STPDpre:
2603
2613
case AArch64::STPQpost:
@@ -4167,7 +4177,11 @@ bool AArch64InstrInfo::getMemOpInfo(unsigned Opcode, TypeSize &Scale,
4167
4177
break ;
4168
4178
case AArch64::LDG:
4169
4179
case AArch64::STGi:
4180
+ case AArch64::STGPreIndex:
4181
+ case AArch64::STGPostIndex:
4170
4182
case AArch64::STZGi:
4183
+ case AArch64::STZGPreIndex:
4184
+ case AArch64::STZGPostIndex:
4171
4185
Scale = TypeSize::getFixed (16 );
4172
4186
Width = TypeSize::getFixed (16 );
4173
4187
MinOffset = -256 ;
@@ -4334,13 +4348,19 @@ bool AArch64InstrInfo::getMemOpInfo(unsigned Opcode, TypeSize &Scale,
4334
4348
MaxOffset = 7 ;
4335
4349
break ;
4336
4350
case AArch64::ST2Gi:
4351
+ case AArch64::ST2GPreIndex:
4352
+ case AArch64::ST2GPostIndex:
4337
4353
case AArch64::STZ2Gi:
4354
+ case AArch64::STZ2GPreIndex:
4355
+ case AArch64::STZ2GPostIndex:
4338
4356
Scale = TypeSize::getFixed (16 );
4339
4357
Width = TypeSize::getFixed (32 );
4340
4358
MinOffset = -256 ;
4341
4359
MaxOffset = 255 ;
4342
4360
break ;
4343
4361
case AArch64::STGPi:
4362
+ case AArch64::STGPpost:
4363
+ case AArch64::STGPpre:
4344
4364
Scale = TypeSize::getFixed (16 );
4345
4365
Width = TypeSize::getFixed (16 );
4346
4366
MinOffset = -64 ;
0 commit comments