Skip to content

JIT: Value type bitwise/unary/compare ops (bootstrap-aot) #1069

@PurHur

Description

@PurHur

Fixtures blocked

  • test/bootstrap-aot/bitwise_not.phpTYPE_BITWISE_NOT for type 133
  • test/bootstrap-aot/value_bitwise_shift.phpTYPE_SHIFT_LEFT for type pair 133 and 1
  • test/bootstrap-aot/value_equal_native_long.phpTYPE_EQUAL for type pair 133 and 1
  • test/bootstrap-aot/shift_right.php, switch_equal_value_long.php (likely same family)

Location

lib/JIT/Helper.php unaryOp/binaryOp switches — type 133 is __value__ / Value boxing.

Verify

php bin/compile.php -o /tmp/t test/bootstrap-aot/bitwise_not.php
make bootstrap-aot-link

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions