Enable multi-register return values for native invokers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-panama
    • Component/s: tools

      Currently, calls that return a value in multiple registers are not enabled in native invokers.

      This is because our low-level method handle for doing native calls can only return java primtives, and we can not encode multiple 64-bit registers as a single java primitive.

      Possible solution is to pre-allocate a bit of memory where we will put the arguments returned from the call, and then load the value from there when post-processing the return value.

      Implementing this would also allow us to remove the buffered invocation strategy for down calls.

            Assignee:
            Jorn Vernee
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: