From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2023-01-10T04:46:38+00:00 Subject: [ruby-core:111765] [Ruby master Feature#18439] YJIT: Support Microsoft x86 calling convention Issue #18439 has been updated by k0kubun (Takashi Kokubun). Subject changed from Support YJIT for VC++ to YJIT: Support Microsoft x86 calling convention What's used for compiling YJIT itself, which was changed from a C compiler to `rustc`, wasn't a huge concern for supporting Windows. Given that @usa has an idea for the `mmap` part, the main challenge for supporting Windows would be ABI support in JITed code. I changed the ticket description to clarify what's to be done. ---------------------------------------- Feature #18439: YJIT: Support Microsoft x86 calling convention https://bugs.ruby-lang.org/issues/18439#change-101170 * Author: usa (Usaku NAKAMURA) * Status: Assigned * Priority: Normal * Assignee: yjit ---------------------------------------- I heard that supporting YJIT for VC++ needs mmap from k0kubun-san, so I implemented tiny mmap emulation on Windows and committed it to master. And, I found we need more changes to actually enabled YJIT for VC++, at least: - YJIT requires `OPT_DIRECT_THREADED_CODE` or `OPT_CALL_THREADED_CODE` in `rb_yjit_compile_iseq()`. Really? - Maybe ABI deffers between VC++ and YJIT's expectation. Can I get support to fix above? -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/