x86: Improve scratch register handling in VM stubs

XMLWordPrintable

    • b12
    • x86

      Constants which reside outside code cache are not guaranteed to be reachable in RIP-relative addressing mode from stub code. Provide a scratch register to ensure constants are reachable irrespective of process memory layout. Make scratch register usage explicit to avoid conflicts with stub code.

            Assignee:
            Vladimir Ivanov
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: