Skip to content

Instantly share code, notes, and snippets.

View Others's full-sized avatar

Others

View GitHub Profile
4 Arbor Elf
3 Destiny Spinner
1 Dryad of the Ilysian Grove
2 Eidolon of Blossoms
4 Enchantress's Presence
1 Hall of Heliod's Generosity
2 Nykthos, Shrine to Nyx
4 On Thin Ice
4 Prismatic Vista
1 Rest in Peace
peachg@amaura ~/P/docker-mtgo (master *) [1] ~> ./run-mtgo --reset --update
WARNING: You are about to delete /Users/peachg/.local/share/mtgo and wipe docker volume mtgo-data-peachg
Press Enter to continue, CTRL+C to abort
/Users/peachg/.local/share/mtgo
docker volume rm mtgo-data-peachg
mtgo-data-peachg
docker pull panard/mtgo:latest
latest: Pulling from panard/mtgo
Digest: sha256:54e15bb20c518b667d2b90e492c5f2ee5074721a6d15a95dc2624281c60407f7
define void @wasmf___multf3(i32, i64, i64, i64, i64) {
entry:
%5 = load i32, i32* @g_0
%6 = sub i32 %5, 96
store i32 %6, i32* @g_0
%7 = lshr i64 %3, 17
%8 = shl i64 %4, 47
%9 = or i64 %7, %8
%10 = lshr i64 %1, 32
%11 = shl i64 %2, 32
0001117c <wasmf___multf3>:
1117c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr}
11180: b0a7 sub sp, #156 ; 0x9c
11182: f24b 415c movw r1, #46172 ; 0xb45c
11186: f2c0 0102 movt r1, #2
1118a: 469b mov fp, r3
1118c: 680b ldr r3, [r1, #0]
1118e: 4696 mov lr, r2
11190: 9023 str r0, [sp, #140] ; 0x8c
11192: e9dd 7034 ldrd r7, r0, [sp, #208] ; 0xd0
gyp verb ia32 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\ia32
gyp verb ia32 node.lib url https://atom.io/download/electron/v6.0.7/win-x86/node.lib
gyp verb x64 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\x64
gyp verb x64 node.lib url https://atom.io/download/electron/v6.0.7/win-x64/node.lib
gyp verb arm64 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\arm64
gyp verb arm64 node.lib url https://atom.io/download/electron/v6.0.7/win-arm64/node.lib
gyp verb check download content checksum, need to download `SHASUMS256.txt`...
gyp verb checksum url https://atom.io/download/electron/v6.0.7/SHASUMS256.txt
gyp http GET https://atom.io/download/electron/v6.0.7/SHASUMS256.txt
gyp verb streaming ia32 node.lib to: C:\Users\appveyor\.electron-gyp\6.0.7\ia32\node.lib
test tests\compile-fail\example_compile_error.rs ... mismatch
EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0425]: cannot find value `cx` in this scope
--> $DIR/example_compile_error.rs:6:19
|
6 | JsNumber::new(cx, "9000")
| ^^ not found in this scope
error[E0277]: the trait bound `f64: std::convert::From<&str>` is not satisfied
--> $DIR/example_compile_error.rs:6:5
@Others
Others / main.py
Last active December 1, 2019 04:43
def main():
print('starting in cwd = ', os.getcwd())
print('data dir = ', PBAR_DATA_DIR)
cmd = sys.argv[1:]
cmd_string = ' '.join(cmd)
print('cmd =', cmd_string)
# Prepare by deleting the temp file if it exists
try:
os.remove(PBAR_TEMP_FILE)
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.16822868599999197
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.4578295470000171
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.5097172259999923
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm virtual memory
0.46052893199998834
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.5224201030000017
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.31548835200374015
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.6843471350002801
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.7628226700035157
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.8554026079946198
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using segmentation
0.7233896859979723
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.31576859900087584
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.6873407240000233
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.7708915490002255
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.8613964180003677
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using segmentation
0.8187769800006208