Maxime Chevalier-Boisvert
26fecc7236
Removed native_pop_code, ported call with label
2021-10-20 18:19:23 -04:00
Alan Wu
4929ba0a5c
Generate multiple copies of native code for `pop`
...
Insert generated addresses into st_table for mapping native code
addresses back to info about VM instructions. Export `encoded_insn_data`
to do this. Also some style fixes.
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
6a12fb2067
Ported label linking and conditional jumps
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
1c8fb90f6b
Add new files, ujit_compile.c, ujit_compile.h
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
566d4abee5
Added shift instructions
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
fe1cd076da
Added test for lea
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
251531bdf0
Reimplement Alan's pop instruction with the new assembler
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
efcaa49a7b
Added sub instruction, 32-bit registers, more tests
2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
1392a6f2a4
Added jmp R/M instruction
2021-10-20 18:19:22 -04:00
Maxime Chevalier-Boisvert
a3b411b9c8
add and mov instruction encoding ported and tested
2021-10-20 18:19:22 -04:00
Maxime Chevalier-Boisvert
8f40a62647
Progress on x86 assembler. Encode a few simple instructions.
2021-10-20 18:19:22 -04:00
Maxime Chevalier-Boisvert
5cf7ccd24a
Started porting instruction encoding
2021-10-20 18:19:22 -04:00
Maxime Chevalier-Boisvert
0a5dcc056e
Progress on porting x86 assembler for MicroJIT
2021-10-20 18:19:22 -04:00
Alan Wu
07dd5f22a5
Scraper touch-ups
...
- Support older Ruby versions
- Catch rip-relative jmp. Happens in -O0
2021-10-20 18:19:22 -04:00
Alan Wu
410323bd6d
Try to convince get better code out of Clang
2021-10-20 18:19:22 -04:00
Alan Wu
16c5ce863c
Yeah, this actually works!
2021-10-20 18:19:22 -04:00
Alan Wu
cec197696f
Add example handler for ujit and scrape it from vm.o
2021-10-20 18:19:22 -04:00
Aaron Patterson
b0c3f18ec5
Print errno when mprotect fails
...
Trying to figure out the problem on s390x.
2021-10-20 15:06:40 -07:00
Benoit Daloze
030b1892d5
Update to ruby/spec@254c380
2021-10-20 21:57:05 +02:00
git
500ba24882
* 2021-10-21 [ci skip]
2021-10-21 04:43:39 +09:00
Benoit Daloze
6aa1acb03d
Add extra files from ruby/spec which were skipped due to .gitignore
2021-10-20 21:43:00 +02:00
Benoit Daloze
a6c6eef04a
Update to ruby/spec@d6921ef
2021-10-20 21:41:46 +02:00
Benoit Daloze
207a5a5bc1
Update to ruby/mspec@08e1275
2021-10-20 21:41:45 +02:00
Hiroshi SHIBATA
5322745b29
Added entries about default gems and bundled gems
2021-10-20 20:13:09 +09:00
git
ca989537a9
Update bundled_gems at 2021-10-20
2021-10-20 07:07:22 +00:00
Nobuyoshi Nakada
0c15752556
Use `RUBY_FUNCTION_NAME_STRING` for old Visual C++
...
Probably `__func__` is supported since Visual C++ 2015 (= 14.0,
`_MSC_VER` = 1900).
2021-10-20 11:22:33 +09:00
Nobuyoshi Nakada
768ceb4ead
Cast to void pointer for `%p` in commented out code [ci skip]
2021-10-20 11:22:33 +09:00
Yusuke Endoh
7c01cf4908
NEWS.md: Add error_highlight section
2021-10-20 11:05:05 +09:00
Koichi Sasada
07b87f7979
add NEWS entries about debug.gem
2021-10-20 10:18:54 +09:00
Nobuyoshi Nakada
8bf33a6fbb
Ensure the format argument of RUBY_DEBUG_LOG is a string literal
2021-10-20 07:57:54 +09:00
Kazuhiro NISHIYAMA
9b18f1bffe
Supress `warning: data argument not used by format string [-Wformat-extra-args]`
2021-10-20 07:48:30 +09:00
git
79f9f8326a
* 2021-10-20 [ci skip]
2021-10-20 02:00:42 +09:00
Burdette Lamar
3e96b94eba
Enhanced RDoc for Numeric ( #4991 )
...
Treated:
#@-
#fdiv
#div
#abs
#zero?
#nonzero?
#to_int
#positive?
#negative?
2021-10-19 12:00:22 -05:00
Hiroshi SHIBATA
6b1efc54c8
[ruby/racc] Bump up racc version to 1.6.0
...
https://github.com/ruby/racc/commit/0c5fe2637c
2021-10-19 21:13:29 +09:00
Hiroshi SHIBATA
de68de87ea
[ruby/logger] Bump up logger version to 1.4.4
...
https://github.com/ruby/logger/commit/82a59c8d3f
2021-10-19 21:08:48 +09:00
Hiroshi SHIBATA
a7d07ee90d
[ruby/tempfile] Bump up tempfile version to 0.1.2
...
https://github.com/ruby/tempfile/commit/e5ec902256
2021-10-19 20:55:55 +09:00
Hiroshi SHIBATA
847eeafd65
[ruby/etc] Bump up etc version to 1.3.0
...
https://github.com/ruby/etc/commit/85ca541d0b
2021-10-19 20:55:33 +09:00
Hiroshi SHIBATA
b482a516d2
[ruby/zlib] Bump up zlib version to 2.1.1
...
https://github.com/ruby/zlib/commit/82e9a636a6
2021-10-19 20:28:57 +09:00
Nobuyoshi Nakada
ae25313e80
[ruby/etc] Remove unnecessary declaration
...
Fix https://github.com/ruby/etc/pull/12
https://github.com/ruby/etc/commit/7cbf03d22d
2021-10-19 17:25:40 +09:00
Nobuyoshi Nakada
8d6dbecc80
Remove useless casts
2021-10-19 17:09:32 +09:00
Nobuyoshi Nakada
ec021e469d
Get rid of type-punning cast
2021-10-19 17:08:25 +09:00
Nobuyoshi Nakada
1d9e129255
Fill pid and error in the status
2021-10-19 16:41:09 +09:00
Burdette Lamar
012cafa5c7
Enhanced RDoc for numerics ( #4982 )
...
Treats:
Numeric#coerce
Numeric#clone
Numeric#dup
Numeric#@+ (unary plus)
Numeric#i
Float#coerce
2021-10-18 18:35:06 -05:00
git
8bc2443803
* 2021-10-19 [ci skip]
2021-10-19 01:09:24 +09:00
Jeremy Evans
fac2c0f73c
Fix evaluation order of hash values for duplicate keys
...
Fixes [Bug #17719 ]
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Ivo Anjo <ivo@ivoanjo.me>
2021-10-18 09:09:07 -07:00
Nobuyoshi Nakada
59bec48e48
Remove declarations unused since a95262356e
2021-10-18 23:46:58 +09:00
Aaron Patterson
57bf354c9a
Eliminate some redundant checks on `num` in `newhash`
...
The `newhash` instruction was checking if `num` is greater than 0, but
so is [`rb_hash_new_with_size`](82e2443d8b/hash.c (L1564)
)
as well as [`rb_hash_bulk_insert`](82e2443d8b/hash.c (L4764)
).
If we know the size is 0 in the instruction, we can just directly call
`rb_hash_new` and only check the size once. Unfortunately, when num is
greater than 0, it's still checked 3 times.
2021-10-18 17:41:38 +09:00
David CARLIER
dfe944bfbe
haiku configure fix (again).
2021-10-18 17:40:19 +09:00
Nobuyoshi Nakada
6c74976aef
Remove `Test::Unit::TestCase.make_my_diffs_pretty!`
...
`Test::Unit::CoreAssertions#mu_pp` is defined always using
`pretty_inspect`.
2021-10-18 17:36:06 +09:00
Nobuyoshi Nakada
d1b8544b4d
Remove `Test::Unit::Assertions#exception_details`
...
Never used since fa0f3eff22
.
2021-10-18 17:36:06 +09:00