_0 | _1 | _2 | _3 | _4 | _5 | _6 | _7 | _8 | _9 | _a | _b | _c | _d | _e | _f | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0_ | ⁰ |
¹ |
² |
³ |
⁴ |
⁵ |
⁶ |
⁷ |
⁸ |
\t |
¶ |
⁹ |
± |
∑ |
« |
» |
1_ | æ |
Æ |
ø |
‽ |
§ |
° |
¦ |
‚ |
‛ |
⁄ |
¡ |
¤ |
№ |
℮ |
½ |
← |
2_ | |
! |
" |
# |
$ |
% |
& |
' |
( |
) |
* |
+ |
, |
- |
. |
/ |
3_ | 0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
: |
; |
< |
= |
> |
? |
4_ | @ |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
5_ | P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
[ |
\ |
] |
^ |
_ |
6_ | ` |
a |
b |
c |
d |
e |
f |
g |
h |
i |
j |
k |
l |
m |
n |
o |
7_ | p |
q |
r |
s |
t |
` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multiplier | Instructions | Size | Code | |
---|---|---|---|---|
0 | 1 | 2 | c.sub t0, a0, a0 | |
1 | 1 | 2 | c.slli t0, a0, 0 | |
2 | 1 | 2 | c.slli t0, a0, 1 | |
3 | 2 | 6 | slli t0, a0, 1; c.add t1, t0, a0 | |
4 | 1 | 2 | c.slli t0, a0, 2 | |
5 | 2 | 6 | slli t0, a0, 2; c.add t1, t0, a0 | |
6 | 3 | 8 | c.add t0, a0, a0; slli t1, t0, 2; c.sub t2, t1, t0 | |
7 | 2 | 6 | slli t0, a0, 3; c.sub t1, t0, a0 | |
8 | 1 | 2 | c.slli t0, a0, 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WIDTH: number of bytes to load/store in one instruction for bandwidth tests | |
// default: 32 | |
// WIDTH∊1 2 4 8: regular integer loads | |
// x86-64 WIDTH==16 - SSE; WIDTH==32 - AVX2, WIDTH==64 - AVX-512 | |
// aarch64: WIDTH==16 - NEON loads; WIDTH==32 uses an ldp | |
// UNALIGNED: number of bytes to misalign tested pointers by | |
// CLOCK_RATE: number of clock cycles in a second on the target processor | |
// TEST_LAT: test latency instead of bandwidth; latency tests aligned 8-byte loads | |
#ifndef CLOCK_RATE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TIO fancy search & enter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description sort languages fancily | |
// @author dzaima | |
// @match https://tio.run/ | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DEBUG = false; | |
//raw directions | |
const UL = 0; const U = 1; const UR = 2; | |
const L = 3; const C = 4; const R = 5; | |
const DL = 6; const D = 7; const DR = 8; | |
//directions from the reference point | |
const ul = 16; const u = 17; const ur = 18; | |
const l = 19; const c = 20; const r = 21; | |
const dl = 22; const d = 23; const dr = 24; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default shift # | |
alt ctrl # | |
# # | |
MAP | |
## ## ## ## ## ## ## ## ## ## ## ## ## .. .. .. | |
## ## ## ## ## ## ## ## ## ## ## ## ## .. .. .. | |
□’ ¹№ ²# ³# ⁴# ⁵# ⁶# ⁷# ⁸∙ ⁹⁽ ⁰⁾ ┌╔ ≠┼ ┘┐ ## .. ## .. .. ÷# ## κ# | |
## ## ## ## ## ## ## ## ## ## #∆ ## #╗ ╝# ## .. ## .. .. ## ## ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const STRING = 0, | |
FUNCTION = 1; | |
function tokenize (prog) { | |
var tokens = []; | |
while (prog != "") { | |
let token; | |
prog = prog.replace(/^("(\\.|[^"])*"|[^"][^ ]*)( |$)/, (all, f)=>(token = f,"")); | |
let type = FUNCTION; | |
if (token[0] == "\"") { | |
type = STRING; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 //base recipes | |
+5*4 //5 recipes (armor+material block) have 5 versions so 5*4 because 1 of them have been counted | |
+5*4 //tools, same as above | |
+3 //pressure plate | |
= 110 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1st RLE | |
10,1,1,1,1,1,1,3,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,3,1,1,3,1,1,2,1,1,1,2,1,1,5,1,1,1,3,1,1,5,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,6,1,1,1,1,1,1,1,1,1,1,1,3,1,1,4,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,6,1,1,2,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,2,1,1,1,3,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,2,1,1,3,1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,1,2,1,1,2,1,1,1,1,1,1,1,1,3,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,4,1,1,1,5,1,1,1,1,2,1,1,1,1,2,1,1,2,1,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,8,1,1,4,1,1,2,1,1,1,1,1,2,1,1,4,1,1,1,1,1,1,1,1,1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ā.∫ā;∫ \*+}↔±╬‛;┼↔±╬‛ | |
--- | |
/\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ | |
\/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ | |
/\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ | |
\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/////\\\\////\\\\\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/ ////\\\\////\\\\ \/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/////\\\\////\\\\\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/ | |
/\/\ /\/\ /\/\ \\//\\// /\/\ /\/\ /\/\\\\\////\\\\/////\/\ /\/\ /\/\ \\// |