Skip to content

Releases: YaSuenag/ffmasm

0.4.2

11 Jan 07:56
Compare
Choose a tag to compare

Maintenance release - fixes following bugs:

  • Remove --enable-preview from javac for ffmasm
  • Do not use loaderLookup() in WindowsExecMemory
  • Fix displacement value if it is between 0x7f < displacement <= 0xff

Full Changelog: 0.4.1...0.4.2

0.4.1

29 Dec 12:16
Compare
Choose a tag to compare

New Features

  • Add new create() to AMD64AsmBuilder
  • Add interface for MemorySegment to both PerfMap and JitDump

New instructions

  • SSE2 instructions
    • MOVD
    • MOVQ
    • MOVDQA
    • MOVDQU

Full Changelog: 0.4.0...0.4.1

0.4.0 - support profiling by perf tool

28 Sep 06:05
Compare
Choose a tag to compare

What's Changed

  • Dump perf map for assembled methods if you want. You can use it on perf report on Linux.
  • Generate jitdump for assembled methods if you want. You can annotate assembled methods if you inject it with perf inject.

Full Changelog: 0.3.0...0.4.0

v0.3.0 - using official FFM API 🎉

20 Mar 21:01
Compare
Choose a tag to compare

v0.3.0 is the first release for official FFM API. It works on JDK 22 or later.

New features

  • Add JNI register

New instructions

  • SYSCALL
  • BSWAP

Full Changelog: v0.2.2...0.3.0

v0.2.2

07 Oct 12:40
Compare
Choose a tag to compare
  • Conforms to JDK 21
    • ffmasm is no longer working on JDK 20 or earlier
  • Added instructions
    • AMD64
      • AND
      • JZ
      • movRM
      • movImm
      • CALL
    • AVX
      • PTEST
      • VMOVDQU
  • New features
    • Linker option can be specified at AMD64AsmBuilder::build
    • Add AMD64AsmBuilder::getMemorySegment

Maven package: https://github.com/YaSuenag/ffmasm/packages/1656296?version=0.2.2

Full Changelog: v0.2.1...v0.2.2

v0.2.1

28 Mar 13:30
Compare
Choose a tag to compare

AVXAsmBuilder supports R8 or higher registers. It means you can use argument registers directly in AVX instructions on Windows (R8, R9).

Full Changelog: v0.2.0...v0.2.1

v0.2.0

27 Mar 13:42
Compare
Choose a tag to compare
  • Conforms to JDK 20
    • ffmasm is no longer working on JDK 19
  • Added instructions
    • AMD64
      • XOR
      • LEA
    • AVX
      • PXOR

Full Changelog: v0.1.4...v0.2.0

Maven Package: https://github.com/YaSuenag/ffmasm/packages/1656296?version=0.2.0

v0.1.4

24 Oct 14:30
Compare
Choose a tag to compare
  • Add following AVX instructions
    • VMOVDQA
    • VPADDD
  • Add benchmark for comparing with Vector API

v0.1.3

18 Oct 13:07
Compare
Choose a tag to compare
  • Add following instructions
    • OR
    • RDTSC
  • Add JMH benchmark

v0.1.2 - Windows support

10 Oct 13:05
Compare
Choose a tag to compare

Support Windows x64 ! 🪟🎉