mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
426 B
Plaintext
20 lines
426 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
// This checks that the expression simplifier
|
|
// does not modify unsplit expressions.
|
|
let a := and(0xff, shr(248, shl(248, shr(248, x))))
|
|
let b := shr(12, shl(8, and(x, 0xf0f0)))
|
|
sstore(a, b)
|
|
}
|
|
// ====
|
|
// EVMVersion: >byzantium
|
|
// ----
|
|
// step: fullSuite
|
|
//
|
|
// {
|
|
// {
|
|
// let x := calldataload(0)
|
|
// sstore(shr(248, x), and(shr(4, x), 3855))
|
|
// }
|
|
// }
|