c4a3e928a7
Merge pull request #41 from jethrodaniel/gemfile-dup
...
remove duplicate development gem
2020-04-28 08:15:41 +03:00
Mark Delk
b67a93a487
remove duplicate development gem
...
Commit 741e9cc61e
was missing this.
Leads to annoying errors such as
```
$ bundle
Your Gemfile lists the gem minitest-parallel_fork (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
```
2020-04-27 18:57:00 -05:00
741e9cc61e
remove rubyversion and change parallel test setup
2020-04-01 13:04:21 +03:00
94b9b95141
rewrote insert, a bit more than anticipated
2020-03-28 21:26:58 +02:00
a758d610d6
Merge branch 'master' of github.com:ruby-x/rubyx
2020-03-28 19:50:26 +02:00
e8111c259b
fix last tests that required faked returns
2020-03-28 19:46:07 +02:00
4e99938f3a
Merge pull request #40 from deepigarg/master
...
Issue #32 Implemented Insert method
2020-03-28 19:30:21 +02:00
Deepi Garg
a04c27e1b0
Merge branch 'master' into master
2020-03-28 22:55:24 +05:30
Deepi Garg
aae168fe13
Update word.rb
2020-03-28 22:49:34 +05:30
Deepi Garg
9e0eca64e8
Update test_word.rb
2020-03-28 22:47:04 +05:30
Deepi Garg
065361bfdc
Update word.rb
2020-03-28 22:45:52 +05:30
a3effe29f6
adding integer compare tests and fixing returns
...
true, false and nll were not handled correctly as returns
returns assume int, and reduce. The solution (hack?) is to add fake numbers into true,false and nil that get returned from from the arm syscall
(and it works!, which means i can fix other tests now)
2020-03-28 18:41:59 +02:00
8dfcc0f5de
add decent method to get the programs return to interpreter
...
only had such methods in tests, but they really belong in code
also adding fake values to true ,false and nil
2020-03-28 18:39:49 +02:00
chhavikirtani2000
4f8a5f2a78
removed temp
2020-03-28 18:24:59 +02:00
chhavikirtani2000
055a4d622b
removed comments
2020-03-28 18:24:59 +02:00
chhavikirtani2000
5bef23d6e1
review comments incorporated
2020-03-28 18:24:59 +02:00
chhavikirtani2000
2e3b614c92
review comments incorporated
2020-03-28 18:24:59 +02:00
chhavikirtani2000
fa28475b71
review comments incorporated
2020-03-28 18:24:59 +02:00
chhavikirtani2000
c477e90c45
implemented start_with along with tests
2020-03-28 18:24:59 +02:00
Deepi Garg
bc04efadec
Added test for insert function
2020-03-28 20:04:59 +05:30
Deepi Garg
5804a6a74d
Added insert function
2020-03-28 20:03:19 +05:30
8fa00d1413
move math code to arm
...
with more bugs surfacing
2020-03-28 12:25:53 +02:00
e51cd8420b
move conditional test to arm
2020-03-28 11:51:16 +02:00
2b467fc555
make class method tests arm tests
2020-03-28 09:36:16 +02:00
06944142d6
moving more tests to arm
...
and guess what, finding bugs (index ones)
not fixed though
2020-03-27 20:18:14 +02:00
c29bb44159
move more tests from interpreter to mains
...
while now
all interpreter tests with only return tests move now
2020-03-27 19:04:10 +02:00
b378a42928
upgrade ruby versions and bundler
2020-03-27 10:13:53 +02:00
249e643823
change env name, travis is having trouble
2020-03-26 21:07:01 +02:00
22727ba150
arm tests back on line
2020-03-26 20:30:47 +02:00
94e4f3a9bf
better framework for running arm test
...
more explicit, rather than gobbling files, pass code in
preload is available (so code does not have to be duplicated)
interpret first, so bad mistakes get caught
no ssh, just qemu-arm, configure through env
2020-03-26 20:28:59 +02:00
4bae5c418b
fix register use in putstring
...
was off by one, the syscall is write
and the first arg is file_descriptor
ie 1 == stdout
2020-03-26 11:24:56 +02:00
231ce0f69b
improve debug labels
2020-03-26 11:24:33 +02:00
7572e27869
fix operator register usage
...
which makes inter math work
surprise!
2020-03-25 18:38:32 +02:00
bc558d1f0d
do not copy name of method
...
so that the resolve can compare name identity
which is what is does, not equality
this (and some other bug) is crashing arm currently
2020-03-25 12:43:57 +02:00
b2dce92883
fix arm return bug
...
even had a fixme on it
2020-03-24 22:04:44 +02:00
6d2ecf7ee6
disable arm mains tests until debugged
2020-03-22 18:18:07 +02:00
1970a3ee6e
test that register allocation allocates risc names
2020-03-22 18:01:51 +02:00
bc60f02f66
remove risc tests from rubyx layer
...
duplication, better ones in slot
2020-03-22 17:47:31 +02:00
90935bfbbc
risc is GREEN
...
totally, man.
Small fix in method missing fixed last block tests
(why, i do not know)
2020-03-22 15:58:19 +02:00
37feba1239
bunch of side effects fixed
...
makes one think if those are valid asserts
2020-03-22 15:56:57 +02:00
ddd1f4e296
fix interpreter syscall and rename return reg
...
returned int for puts was same name as implicit return int
2020-03-22 14:31:43 +02:00
be684c0c43
move message to stack_pointer
...
changing a bunch of register names
some of which get names now
2020-03-22 14:31:43 +02:00
a93a3c8af5
fix most interpreter tests
2020-03-22 14:31:43 +02:00
06ade75593
Fix non ssa issue
...
register instances were being shared across instructions
causing the setting to have side-effects
Fixed this by copying the register on write
(fixing the symptom rather than the cause, i'll make an issue)
2020-03-22 14:31:43 +02:00
d2e7c647d0
setting registers in the allocator
...
unfortunately the reg instances are spread across instructions
this causes problems when setting them
2020-03-22 14:31:43 +02:00
c890e8402b
change in register_names protocol
...
move to returning the attribute names
getting and setting can then be automated in the base class
2020-03-22 14:31:43 +02:00
0137056b89
change platform to return register names
...
not just the number of them
also adds protocol to map registers
(like message to r0 , or syscalls)
2020-03-22 14:31:43 +02:00
f13e6dcf57
fix releasing in allocator
...
fell into hash new trap, which reuses the object you give it. not good for mutable objects like the array.
also previous logic was broken in terms of machine vs ssa names
2020-03-22 14:31:43 +02:00
3f131a4018
start with register assigning
...
have to find a way to set them next
2020-03-22 14:31:43 +02:00
4f290ee246
basic liveliness for allocator
2020-03-22 14:31:43 +02:00