Skip to content

Commit

Permalink
Core: Arm64: Implement LDP support for V registers.
Browse files Browse the repository at this point in the history
Fixes #298
  • Loading branch information
SamboyCoding committed Jun 24, 2024
1 parent 390c83d commit c56e809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cpp2IL.Core/InstructionSets/NewArmV8InstructionSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ private void ConvertInstructionStatement(Arm64Instruction instruction, IsilBuild
//LDP (dest1, dest2, [mem]) - basically just treat as two loads, with the second offset by the length of the first
var destRegSize = instruction.Op0Reg switch
{
//vector (128 bit)
>= Arm64Register.V0 and <= Arm64Register.V31 => 16, //TODO check if this is accurate
//double
>= Arm64Register.D0 and <= Arm64Register.D31 => 8,
//single
Expand Down

0 comments on commit c56e809

Please sign in to comment.