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. 20
      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 JUMPI
;; stack = 1 2 3 4 5 6 7 8 9 10 ;; stack = 1 2 3 4 5 6 7 8 9 10
;;0 0
;;MSTORE MSTORE
;;1 1
;;MSTORE MSTORE
;;2 2
;;MSTORE MSTORE
;;3 3
;;MSTORE MSTORE
STOP STOP
) )

2
evmcc/test/jump/loop2.evm

@ -1 +1 @@
600a80600160800360a060025900 600a80600190038060025960005460015460025460035400

20
evmcc/test/jump/loop2.lll

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

Loading…
Cancel
Save