arch-arm: Fix decoding of LDFF1x scalar plus scalar
authorAdriĆ  Armejach <adria.armejach@bsc.es>
Wed, 18 Dec 2019 14:40:17 +0000 (15:40 +0100)
committerAdria Armejach <adria.armejach@gmail.com>
Thu, 19 Dec 2019 11:46:41 +0000 (11:46 +0000)
First-faulting loads do allow Rm == 0x1f.

Change-Id: Ib9bcb55e126653813fdbb7c29970af23a2471ebb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23803
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/formats/sve_2nd_level.isa

index c06d7f6a7ba589930ed3b1f1e51294202f1d0f50..8bde189b24350eef4023b24242ebc2ee575c5e26 100644 (file)
@@ -3132,10 +3132,6 @@ namespace Aarch64
         IntRegIndex rm = (IntRegIndex) (uint8_t) bits(machInst, 20, 16);
         IntRegIndex pg = (IntRegIndex) (uint8_t) bits(machInst, 12, 10);
 
-        if (rm == 0x1f) {
-            return new Unknown64(machInst);
-        }
-
         return decodeSveContigLoadSSInsts<SveContigFFLoadSS>(
             bits(machInst, 24, 21), machInst, zt, pg, rn, rm, true);
     }  // decodeSveContigFFLoadSS