diff options
author | Brian Sullivan <briansul@microsoft.com> | 2016-07-12 13:52:20 -0700 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2016-07-26 16:16:51 -0700 |
commit | feb33b9085f202ac9e6331fdf4dc02751d89cf8d (patch) | |
tree | 6b4305ad73b35818bfaa6249b671aff082c32c59 /src/vm/arm64/CallDescrWorkerARM64.asm | |
parent | 35e1d3bea2446a3ad6d5470b685a612b022052ad (diff) | |
download | coreclr-feb33b9085f202ac9e6331fdf4dc02751d89cf8d.tar.gz coreclr-feb33b9085f202ac9e6331fdf4dc02751d89cf8d.tar.bz2 coreclr-feb33b9085f202ac9e6331fdf4dc02751d89cf8d.zip |
Enable multireg returns on Arm64
Added method IsMultiRegPassedType and updated IsMultiRegReturnType
Switched these methods to using getArgTypeForStruct and getReturnTypeForStruct
Removed IsRegisterPassable and used IsMultiRegReturned instead.
Converted lvIsMultiregStruct to use getArgTypeForStruct
Renamed varDsc->lvIsMultiregStruct() to compiler->lvaIsMultiregStruct(varDsc)
Skip calling getPrimitiveTypeForStruct when we have a struct larger than 8 bytes
Refactored ReturnTypeDesc::InitializeReturnType
Fixed missing SPK_ByReference case in InitializeReturnType
Fixes for RyiJIt x86 TYP_LONG return types and additional ARM64 work for full multireg support
Added ARM64 guard the uses of MAX_RET_MULTIREG_BYTES with FEATURE_MULTIREG_RET
Fixes for multireg returns in Arm64 Codegen
Added dumping of lvIsMultiRegArg and lvIsMultiRegRet in the assembly output
Added check and set of compFloatingPointUsed to InitializeStructReturnType
Fixes to handle JIT helper calls that say they return a TYP_STRUCT with no class handle available
Placed all of the second GC return reg under MULTIREG_HAS_SECOND_GC_RET ifdefs
Added the Arm64 VM changes from Rahul's PR 5175
Update getArgTypeForStruct for x86/arm32 so that it returns TYP_STRUCT for all pass by value cases
Fixes for the passing of 3,5,6 or 7 byte sized structs
Fix issue on ARM64 where we would back fill into x7 after passing a 16-byte struct on the stack
Implemented register shuffling for multi reg Call returns on Arm64
Fixed regression on Arm32 for struct args that are not multi regs
Updated Tests.Lst with 23 additional passing tests
Changes from codereview feedback
Diffstat (limited to 'src/vm/arm64/CallDescrWorkerARM64.asm')
-rw-r--r-- | src/vm/arm64/CallDescrWorkerARM64.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/arm64/CallDescrWorkerARM64.asm b/src/vm/arm64/CallDescrWorkerARM64.asm index 556983934e..464640157e 100644 --- a/src/vm/arm64/CallDescrWorkerARM64.asm +++ b/src/vm/arm64/CallDescrWorkerARM64.asm @@ -118,8 +118,8 @@ LNoDoubleHFAReturn EMIT_BREAKPOINT ; Unreachable LIntReturn - ;; Save return value into retbuf for int - str x0, [x19, #(CallDescrData__returnValue + 0)] + ;; Save return value(s) into retbuf for int + stp x0,x1, [x19, #(CallDescrData__returnValue + 0)] LReturnDone |