mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 18:40:20 +02:00
* RiscV64: optimize 32 bit shift instructions as well
This commit is contained in:
parent
863fe13bd1
commit
72daf3f556
@ -680,12 +680,22 @@ implementation
|
||||
A_AND,
|
||||
A_OR,
|
||||
A_XOR,
|
||||
{$ifdef riscv64}
|
||||
A_SLLW,
|
||||
A_SRLW,
|
||||
A_SRAW,
|
||||
{$endif riscv64}
|
||||
A_SLL,
|
||||
A_SRL,
|
||||
A_SRA,
|
||||
A_NEG,
|
||||
A_NOT:
|
||||
result:=OptPass1OP(p);
|
||||
{$ifdef riscv64}
|
||||
A_SRAIW,
|
||||
A_SRLIW,
|
||||
A_SLLIW,
|
||||
{$endif riscv64}
|
||||
A_SRAI,
|
||||
A_SRLI,
|
||||
A_SLLI:
|
||||
|
Loading…
Reference in New Issue
Block a user