Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-32682] [GR-52145] Add initial version of the Bytecode DSL. #9556

Open
wants to merge 146 commits into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. Add Bytecode DSL

    Co-authored-by: Christian Humer <[email protected]>
    Co-authored-by: Nikola Bebić <[email protected]>
    3 people committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8e1219e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49ca9b0 View commit details
    Browse the repository at this point in the history
  3. Add Bytecode DSL interpreter to SimpleLanguage

    Co-authored-by: Christian Humer <[email protected]>
    Co-authored-by: Nikola Bebić <[email protected]>
    3 people committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b43c99d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8af956f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c5fa3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21d1b4f View commit details
    Browse the repository at this point in the history
  7. Fix test setup for OSR issue

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    e6d3ec4 View commit details
    Browse the repository at this point in the history
  8. Fix deopt loop with OSR.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    66b6d4d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3aa2eab View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65e19ff View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2a0b2f9 View commit details
    Browse the repository at this point in the history
  12. Refactor: beginRoot(TruffleLanguage) to create/deserialize(ConcreteLa…

    …nguage,...); remove language param from serialize
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8c19bcd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4e52cfb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cbe8745 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6397868 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fb2454d View commit details
    Browse the repository at this point in the history
  17. Avoid deopt at OSR loop exit by forcing loop branch false profile >0;…

    … improve grouping/ordering of instructions when transitioning to cached
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a5ed17e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3f45e40 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a4ed67d View commit details
    Browse the repository at this point in the history
  20. Fix state bitset handling.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    55819df View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    605343f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d2a5583 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    8b14e78 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2d187c3 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c6c2e4e View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    0a4df5e View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a63c1bc View commit details
    Browse the repository at this point in the history
  28. Fix invalid operand read.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    c15c214 View commit details
    Browse the repository at this point in the history
  29. Fix provided tags and maximum number of instrumentations. Keep some b…

    …its reserved for future features.
    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    81bdf4c View commit details
    Browse the repository at this point in the history
  30. Make all groupingBy deterministic.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b9672a7 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9ec919b View commit details
    Browse the repository at this point in the history
  32. Fix tests, document Bind.DefaultExpression, improve error handling fo…

    …r non-visible guard expressions
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b39f3b1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    58c0f84 View commit details
    Browse the repository at this point in the history
  34. More documentation fixes

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    c5534ec View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e1db266 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    dda12b3 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    70add6c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ca45657 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    8379b31 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    9d35156 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0ba0d2c View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    df554d9 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    cb68ac4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    46da384 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    8eb9929 View commit details
    Browse the repository at this point in the history
  46. Address feedback

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    dc83354 View commit details
    Browse the repository at this point in the history
  47. Address more feedback: 'the' Bytecode DSL, improve builtins tutorial,…

    … other minor improvements
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    3f518ea View commit details
    Browse the repository at this point in the history
  48. OSR: stuff isContinuationFrame into long target so OSR compiles separ…

    …ate targets for resumed invocations
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a71d526 View commit details
    Browse the repository at this point in the history
  49. Materialized locals: add frame descriptor check; if bci is stored in …

    …frame, always check local in scope
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1bdb207 View commit details
    Browse the repository at this point in the history
  50. Address more feedback

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    0f5333f View commit details
    Browse the repository at this point in the history
  51. Reparsing: make encoding CompilationFinal so that reparse compares re…

    …quested encoding against compiled one (instead of current encoding)
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    3dbbbd5 View commit details
    Browse the repository at this point in the history
  52. Minor docs improvements

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    de14f77 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    6871bf1 View commit details
    Browse the repository at this point in the history
  54. Refactor bytecode local and range accessors; Remove type specialized …

    …accessors in BytecodeNode -> use LocalAccessor instead.
    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8a89e86 View commit details
    Browse the repository at this point in the history
  55. Minor: improve immediate names on doEmitInstruction helpers; don't re…

    …serve frame slot for epilog exception local; clean up docs"
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    41ad8dd View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    23d53cc View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    f6b5eb9 View commit details
    Browse the repository at this point in the history
  58. Code gen: avoid allocating an opcode for EpilogExceptional since it's…

    … never emitted in bytecode
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d6ed1aa View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    46d2adb View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    1228970 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    f3ca843 View commit details
    Browse the repository at this point in the history
  62. Support short circuit ops without booleanConverters; ensure condition…

    … operands are not null
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    247a597 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    b4b3400 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    423f176 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    4804823 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    066b7ca View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    1a0c4ef View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    4f8a987 View commit details
    Browse the repository at this point in the history
  69. Fix compilation of tag instrumentation.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    02f24b7 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    23e4388 View commit details
    Browse the repository at this point in the history
  71. Fix rewrite quickening.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    c83fff2 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    9d2d42c View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    7cc8dd9 View commit details
    Browse the repository at this point in the history
  74. Code gen: use byte tag instead of converting to FrameSlotKind; always…

    … use tags array, not FrameDescriptor tags
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    f00ac95 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    4868388 View commit details
    Browse the repository at this point in the history
  76. Fix PE test.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9904e40 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    303eaeb View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    c4aa0ba View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    a607bf3 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    3108816 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    ff962e7 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    cec7640 View commit details
    Browse the repository at this point in the history
  83. Fix another state bitset bug

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    69a78c8 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    e769218 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    d4d1bd6 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    1fe2042 View commit details
    Browse the repository at this point in the history
  87. Locals: use setLocalValueInternal for generic materialized stores so …

    …that tags get updated; rename local_offset immediate to frame_index to differentiate from local offset exposed to users
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    307d698 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    1655b1c View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    5fe3a48 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    40527b0 View commit details
    Browse the repository at this point in the history
  91. Locals: get/setCachedLocalTags check bounds then call internal versio…

    …ns (needed for later invalidation change); simplify codegen by using consistent parameter types and only generating get/setCachedLocalTags for root scoping
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8eecfe0 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    9420330 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    d57f307 View commit details
    Browse the repository at this point in the history
  94. Local accessors: used checked accesses when we cannot trust the user-…

    …supplied BytecodeNode or Frame
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4b0c085 View commit details
    Browse the repository at this point in the history
  95. Implement boxing overload detection for specializations that rewrite …

    …on UnexpectedResultException.
    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    e2357e2 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    19e41f1 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    a8c8f76 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    ca005b2 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    f27508d View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    fbba987 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    e452075 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    8c0b891 View commit details
    Browse the repository at this point in the history
  103. Remove old branchprofiling code.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    554b618 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    47c6022 View commit details
    Browse the repository at this point in the history
  105. Fix lint, signatures

    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    fd956f2 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    49e4a2f View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    ad6d9c1 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    2e856cc View commit details
    Browse the repository at this point in the history
  109. Code gen: put deopts/neverPartOfCompilation before Illegal exceptions…

    …; hoist constants field read out of loop; simplify instruction partitioning
    DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1d24f0d View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    65bb096 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    4f5da97 View commit details
    Browse the repository at this point in the history
  112. Sort builtin instructions by kind.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    39ee861 View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    957316b View commit details
    Browse the repository at this point in the history
  114. Fix problem in manual bytecode.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    04fded3 View commit details
    Browse the repository at this point in the history
  115. Fix ECJ compile error.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    13e77ce View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    6e826a2 View commit details
    Browse the repository at this point in the history
  117. Update instruction sizes.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    f94db47 View commit details
    Browse the repository at this point in the history
  118. Revert sulong warning changes.

    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    95d8fb9 View commit details
    Browse the repository at this point in the history
  119. Fix boxing overloads with primitives don't make sense. Re-resolve rep…

    …laces after removal.
    chumer authored and DSouzaM committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    49f887a View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    78a7e7f View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    9f825b5 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    65e8831 View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    f48a007 View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    fbb015d View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    0c85601 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    961aa71 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    4181472 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2b15c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c443d0 View commit details
    Browse the repository at this point in the history
  4. Update language imports

    OracleLabsAutomation authored and DSouzaM committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    9e0e5ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2211f24 View commit details
    Browse the repository at this point in the history
  6. Minor lint fix

    DSouzaM committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    41812aa View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    4ddb548 View commit details
    Browse the repository at this point in the history
  2. BytecodeNode: document parameters that should be PE const. Fix non-PE…

    … constant usages in tests.
    DSouzaM committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b67d79f View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    dcdb47d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49a2255 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88db1dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5500d8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7531a3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4df8444 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    6f39a31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebf4317 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e943a55 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    33649b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a2bbbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84b1af0 View commit details
    Browse the repository at this point in the history