From ac7b809f7a426e64e431d8f65c3380f5fb719a53 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 7 Apr 2023 15:32:08 +0100 Subject: [PATCH] add ld/st-post-increment to ls012 optable, add int-fp-mv as well --- openpower/sv/rfc/ls012/optable.csv | 55 ++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/openpower/sv/rfc/ls012/optable.csv b/openpower/sv/rfc/ls012/optable.csv index b783369d6..3284795e5 100644 --- a/openpower/sv/rfc/ls012/optable.csv +++ b/openpower/sv/rfc/ls012/optable.csv @@ -1,4 +1,26 @@ instruction, rfc, priority, bitcost, vectorisable, group, prefixable, page +# LD/ST-Postincrement (FP TODO) +lbzup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lbzupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lhzup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lhzupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lhaup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lhaupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lwzup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lwzupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +lwaupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +ldup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +ldupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedload +stbup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +stbupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +sthup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +sthupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +stwup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +stwupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +stdup, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +stdupx, ls011, high, ??, yes, EXT2xx, ??, isa/pifixedstore +FP-LD, ls011, high, ??, yes, EXT2xx, ??, TODO +FP-ST, ls011, high, ??, yes, EXT2xx, ??, TODO # Bitmanip LUT2/3 operations. high cost high reward grevlut, TBD, high, 3, yes, TBD, no, sv/bitmanip grevluti, TBD, high, 3, yes, TBD, yes, sv/bitmanip @@ -40,22 +62,27 @@ crweirder, TBD, high, 9, yes, TBD, no, sv/cr_int_predication mcrfm, , TBD, high, 9, yes, EXT0xx, no, sv/cr_int_predication # fclass (Scalar variant of xvtstdcsp) fptstp(s), TBD, high, 10, yes, EXT0xx, no, sv/fclass +# INT<->FP mv +fmvfg(s), ls006, high, 10, yes, EXT0xx, no, sv/int_fp_mv +fcvtfg(s), ls006, high, 10, yes, EXT0xx, no, sv/int_fp_mv +fcvttg(s), ls006, high, 10, yes, EXT0xx, no, sv/int_fp_mv +fcvtstg(s), ls006, high, 10, yes, EXT0xx, no, sv/int_fp_mv # Big-Integer Chained 3-in 2-out (64-bit Carry) -dsld, ls003, high, 5, yes, EXT0xx, no, sv/biginteger -dsrd, ls003, high, 5, yes, EXT0xx, no, sv/biginteger -maddedu ls003, high, 6, yes, EXT0xx, no, sv/biginteger -maddedus ls003, high, 6, yes, EXT0xx, no, sv/biginteger -divmod2du ls003, high, 6, yes, EXT0xx, no, sv/biginteger +dsld, ls003, high, 5, yes, EXT0xx, no, sv/biginteger +dsrd, ls003, high, 5, yes, EXT0xx, no, sv/biginteger +maddedu ls003, high, 6, yes, EXT0xx, no, sv/biginteger +maddedus ls003, high, 6, yes, EXT0xx, no, sv/biginteger +divmod2du ls003, high, 6, yes, EXT0xx, no, sv/biginteger # FP DCT/FFT Butterfly (2/3-in 2-out) -ffadd(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith -ffsub(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith -ffmul(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith -ffdiv(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith -fdmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith -ffmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith -ffmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith -ffnmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith -ffnmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith +ffadd(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith +ffsub(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith +ffmul(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith +ffdiv(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith +fdmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith +ffmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith +ffmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith +ffnmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith +ffnmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith # Trigonometric (1-arg) fsin(s), TBD, high, 10, yes, EXT0xx, no, transcendentals fcos(s), TBD, high, 10, yes, EXT0xx, no, transcendentals -- 2.30.2