Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #847
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

evaluate whether DR should use gcc's switch to 16-byte stack alignment

From [email protected] on July 17, 2012 11:57:04

gcc 4.5+ have violated the sysv x86 ABI that linux followed which mandates only 4-byte stack alignment, in order to use aligned SSE instrs. xref http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 , http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38496 , http://www.uclibc.org/docs/psABI-i386.pdf .

this adds extra code and extra stack space. it's not clear such alignment is a win for DR: we should measure whether aligned SSE instrs outweigh increased code and stack. one factor is that we want binary compatibility w/ older machines, so we can't use really recent ISA instrs. if it's not a win we'd pass -mpreferred-stack-boundary=2.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=847

Assignee
Assign to
Time tracking