Skip to content

Commit

Permalink
[AArch64] Added PgUp PgDw keys to the ISA window
Browse files Browse the repository at this point in the history
* ISA feature renamed to ASIMD
  • Loading branch information
cyring committed Feb 6, 2024
1 parent d4e7a2c commit 804c01d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion aarch64/corefreq-cli-rsc-en.h
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@
#define RSC_ISA_SHA256_CODE " SHA256 [%c]"
#define RSC_ISA_SHA512_CODE " SHA512 [%c]"
#define RSC_ISA_SHA3_CODE " SHA3 [%c]"
#define RSC_ISA_SIMD_CODE " SIMD [%c]"
#define RSC_ISA_SIMD_CODE " ASIMD [%c]"
#define RSC_ISA_SM3_CODE " SM3 [%c]"
#define RSC_ISA_SM4_CODE " SM4 [%c]"
#define RSC_ISA_SME_CODE " SME [%c]"
Expand Down
26 changes: 14 additions & 12 deletions aarch64/corefreq-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,13 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.AES },
},
{
NULL,
RSC(ISA_SIMD).CODE(), RSC(ISA_SIMD_COMM).CODE(),
{ 0, RO(Shm)->Proc.Features.SIMD },
(unsigned short[])
{ RO(Shm)->Proc.Features.SIMD },
},
{
NULL,
RSC(ISA_BF16).CODE(), RSC(ISA_BF16_COMM).CODE(),
Expand Down Expand Up @@ -1504,6 +1511,7 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.FlagM },
},
/* Row Mark */
{
NULL,
RSC(ISA_FlagM2).CODE(), RSC(ISA_FlagM_COMM).CODE(),
Expand All @@ -1518,7 +1526,6 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.FP },
},
/* Row Mark */
{
NULL,
RSC(ISA_FRINTTS).CODE(), RSC(ISA_FRINTTS_COMM).CODE(),
Expand All @@ -1533,6 +1540,7 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.I8MM },
},
/* Row Mark */
{
NULL,
RSC(ISA_JSCVT).CODE(), RSC(ISA_JSCVT_COMM).CODE(),
Expand All @@ -1547,7 +1555,6 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.LRCPC },
},
/* Row Mark */
{
NULL,
RSC(ISA_LS64).CODE(), RSC(ISA_LS64_COMM).CODE(),
Expand All @@ -1562,6 +1569,7 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.LS64_V },
},
/* Row Mark */
{
NULL,
RSC(ISA_LS64_ACCDATA).CODE(), RSC(ISA_LS64_COMM).CODE(),
Expand Down Expand Up @@ -1590,14 +1598,14 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.PMULL },
},
/* Row Mark */
{
NULL,
RSC(ISA_RAND).CODE(), RSC(ISA_RAND_COMM).CODE(),
{ 0, RO(Shm)->Proc.Features.RAND },
(unsigned short[])
{ RO(Shm)->Proc.Features.RAND },
},
/* Row Mark */
{
NULL,
RSC(ISA_RDMA).CODE(), RSC(ISA_RDMA_COMM).CODE(),
Expand All @@ -1619,14 +1627,14 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.SHA1 },
},
/* Row Mark */
{
NULL,
RSC(ISA_SHA256).CODE(), RSC(ISA_SHA_COMM).CODE(),
{ 0, RO(Shm)->Proc.Features.SHA256 },
(unsigned short[])
{ RO(Shm)->Proc.Features.SHA256 },
},
/* Row Mark */
{
NULL,
RSC(ISA_SHA512).CODE(), RSC(ISA_SHA_COMM).CODE(),
Expand All @@ -1641,13 +1649,6 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.SHA3 },
},
{
NULL,
RSC(ISA_SIMD).CODE(), RSC(ISA_SIMD_COMM).CODE(),
{ 0, RO(Shm)->Proc.Features.SIMD },
(unsigned short[])
{ RO(Shm)->Proc.Features.SIMD },
},
{
NULL,
RSC(ISA_SM3).CODE(), RSC(ISA_SM_COMM).CODE(),
Expand Down Expand Up @@ -1909,7 +1910,6 @@ REASON_CODE SysInfoISA( Window *win,
(unsigned short[])
{ RO(Shm)->Proc.Features.SVE_PMULL128 },
},
/* Row Mark */
{
NULL,
RSC(ISA_XS).CODE(), RSC(ISA_XS_COMM).CODE(),
Expand Down Expand Up @@ -6973,6 +6973,8 @@ Window *CreateISA(unsigned long long id)
StoreWindow(wISA, .key.Right, MotionRight_Win);
StoreWindow(wISA, .key.Down, MotionDown_Win);
StoreWindow(wISA, .key.Up, MotionUp_Win);
StoreWindow(wISA, .key.PgUp, MotionPgUp_Win);
StoreWindow(wISA, .key.PgDw, MotionPgDw_Win);
StoreWindow(wISA, .key.Home, MotionHome_Win);
StoreWindow(wISA, .key.End, MotionEnd_Win);

Expand Down

0 comments on commit 804c01d

Please sign in to comment.