[Plugin] JIT compiler
#61

https://github.com/Zeex/samp-plugin-...eases/tag/v2.0
Reply
#62

Is this work with crashdetect?
Reply
#63

No, it doesn't work with crashdetect.
Reply
#64

JIT 2.0.2 is released!
  • Fixed crash on invalid instruction
  • Fixed crash when executing non-existent public function
  • Fixed stupid bug in lctrl 0/1 instructions
  • Fixed crash in CallLocal/RemoteFunction() when running plugins that use GDK (e.g. streamer 2.7.3)
Download
Reply
#65

My server crash, why?

Код:
[18:51:54]  Loading plugin: jit.so
[18:51:54]   JIT plugin v2.0.2 is OK.
[18:51:54]   Loaded.
[18:51:54]  Loading plugin: streamer.so
[18:51:54]   Loaded.
[18:51:54]  Loading plugin: gvar.so
[18:51:54] 

*** GVar Plugin v1.3 by Incognito loaded ***

[18:51:54]   Loaded.
[18:51:54]  Loading plugin: MapAndreas.so
[18:51:54]   Loaded.
[18:51:54]  Loaded 8 plugins.

[18:51:54] 
[18:51:54] Filterscripts
[18:51:54] ---------------
[18:51:54]   Loading filterscript 'MAPAS.amx'...
[18:51:54]   Loaded 1 filterscripts.

[18:51:54] [jit] Invalid or unsupported instruction at address 0000328c:
[18:51:54] [jit]   => jrel 0
[18:51:54]  
[18:51:54]  
[18:51:54]  
[18:51:54]  ======================================= 
[18:51:54]  |                                     | 
[18:51:54]  |        YSI version 4.00.0001        | 
[18:51:54]  |        By Alex "******" Cole        | 
[18:51:54]  |                                     | 
[18:51:54]  ======================================= 
[18:51:54]
Reply
#66

Server crashes when I load a filterscript that uses some of the YSI includes, such as sscanf, y_hooks, y_iterate and y_va.

EDIT: Tested on 2.0.2, still the same problem.
Reply
#67

It doesn't work with YSI.
Reply
#68

Do I need to compile my scripts with -d2 or something similar?
Reply
#69

Quote:
Originally Posted by uZ1
Посмотреть сообщение
Do I need to compile my scripts with -d2 or something similar?
No, you don't need that.
Reply
#70

Zeex, any malloc possibility plan with this plugin?
Reply
#71

What do you mean?
Reply
#72

JIT 2.0.3 is released!
  • Fixed modulo operator producing incorrect results with negative operand
  • Added floatcmp() intrinsic
  • Added an include file
  • Slightly optimized jumps and native calls
Download
Reply
#73

Код:
[19:20:41]  Loading plugin: jit.so
[19:20:41]   Failed (/usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/jit.so))
How to fix?
Debian 7 x64 Wheezy
Reply
#74

Try compiling it on your host:

https://github.com/Zeex/samp-plugin-...lding-on-linux
Reply
#75

Who can compile jit for Debian 7 x64 Wheezy?
My cmake version 2.8.9 i can't update to 2.8.12.
Reply
#76

Hold on, I'll recompile it with gcc 4.4 and upload again.

Edit:

Done.
Reply
#77

Link?
Reply
#78

Oh, it's same as before: https://github.com/Zeex/samp-plugin-...3-linux.tar.gz
Reply
#79

Quote:
Originally Posted by xeeZ
Посмотреть сообщение
Thank you!
Reply
#80

Why does floatlog is 2x slower with jit?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)