Skip to content

Backporting LuaJIT upstream commits part 10 #10709

@Buristan

Description

@Buristan

This ticket is an umbrella for all commits we planning to back-port in the next Q.
This list includes commits excluded from #10199 and may be updated later with some new.

general + x86/x64:

  • d854d00c x86/x64: Add more red zone checks to assembler backend.
  • 0e66fc96 Prevent loop in snap_usedef().
  • 9ebebc9b Fix command-line argv handling.
  • f602f015 Fix predict_next() in parser (for real now).
  • 304da39c FFI: Add missing coercion when recording 64-bit bit.*().
  • de6b1a11 Ensure full init of IR_NOP instructions.
  • 0eddcbea Cleanup CPU detection and tuning for old CPUs.

ARM64:

  • de2e1ca9 Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable.

Fuse loads:

  • 45c88b79 x86/x64: Don't fuse loads across table.clear.
  • 113a168b Improve last commit.
  • 64472364 x86/x64: Don't fuse loads across IR_NEWREF.
  • 43d0a191 Fix last commit.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions