Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • third_party
  • subzero
  • src
  • IceTargetLoweringX8664Traits.h
Find file
BlameHistoryPermalink
  • Antonio Maiorano's avatar
    Subzero: fix calling C functions on Windows x64 · e81e8b3c
    Antonio Maiorano authored Oct 11, 2019
    This change addresses the following issues:
    * Microsoft x64 ABI assigns registers to the first four arguments by
    argument position, not by type count.
    * Microsoft x64 ABI expects caller to allocate space to copy 4 register
    arguments to stack, called the Shadow Store or Home Space.
    * Fix bug where preserved register area size was not computed correctly
    when Xmm registers were being preserved, as it was assuming all
    preserved registers were 8 bytes large.
    
    Bug: b/142132927
    Change-Id: Ibc2d82ab117c062eed2e7f66109c9d6bbdc09a8b
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37272Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    e81e8b3c
IceTargetLoweringX8664Traits.h 41.7 KB
EditWeb IDE
×

Replace IceTargetLoweringX8664Traits.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.