Browse Source

Fixes in inline asm in some jump tests.

cl-refactor
artur-zawlocki 10 years ago
parent
commit
a5c239ffc9
  1. 2
      evmcc/test/jump/loop1.evm
  2. 16
      evmcc/test/jump/loop1.lll
  3. 2
      evmcc/test/jump/loop2.evm
  4. 22
      evmcc/test/jump/loop2.lll

2
evmcc/test/jump/loop1.evm

@ -1 +1 @@
600a600181038060025900
600a600181038060025960005460015460025460035400

16
evmcc/test/jump/loop1.lll

@ -12,14 +12,14 @@ DUP1
JUMPI
;; stack = 1 2 3 4 5 6 7 8 9 10
;;0
;;MSTORE
;;1
;;MSTORE
;;2
;;MSTORE
;;3
;;MSTORE
0
MSTORE
1
MSTORE
2
MSTORE
3
MSTORE
STOP
)

2
evmcc/test/jump/loop2.evm

@ -1 +1 @@
600a80600160800360a060025900
600a80600190038060025960005460015460025460035400

22
evmcc/test/jump/loop2.lll

@ -5,22 +5,22 @@
;; 2
DUP1
1
SWAP
1
SWAP1
SUB
DUP
DUP1
2
JUMPI
;; stack = 1 2 3 4 5 6 7 8 9 10
;;0
;;MSTORE
;;1
;;MSTORE
;;2
;;MSTORE
;;3
;;MSTORE
0
MSTORE
1
MSTORE
2
MSTORE
3
MSTORE
STOP
)

Loading…
Cancel
Save