arch-arm: Adding CAS/CASP AMO instr including new TypedAtomic func
authorJordi Vaquero <jordi.vaquero@metempsy.com>
Fri, 5 Jul 2019 17:21:04 +0000 (19:21 +0200)
committerJordi Vaquero <jordi.vaquero@metempsy.com>
Mon, 12 Aug 2019 17:21:36 +0000 (17:21 +0000)
commit00b3d2c5bc05f22d5a4f3c63839a2cf45b4915a0
treef70e5dbf38ef846ce83da9632ac0c694b885e132
parentf4d21fa24a3a61ac10b764ea97ce4746f60820fb
arch-arm: Adding CAS/CASP AMO instr including new TypedAtomic func

CAS/CASP atomic instruction implementation
This change includes:
+ Instructions decode
+ new amo64.isa file where CAS/CASP main functional code is implemented
+ mem64.isa include Execute/complete/initiatie skeletons,
contructor and declarator
+ Added TypedAtomic function for pair register CASP instruction

Change-Id: I4a4acdec4ab1c8b888f10ef5dc1e896be8c432bf
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19811
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/insts/mem64.hh
src/arch/arm/isa/formats/aarch64.isa
src/arch/arm/isa/insts/amo64.isa [new file with mode: 0644]
src/arch/arm/isa/insts/insts.isa
src/arch/arm/isa/templates/mem64.isa