flat assembler
Message board for the users of flat assembler.

Index > Programming Language Design > ShortFASM

Author
Thread Post new topic Reply to topic
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
vmovups ymm0, yword [A] The same instruction extracts it back to the RAM: Code: vmovups yword [A],ymm0

mov20 ym0,[A]
mov20 [A],ym0

mov40 zm1f,[mffff]
mov40 [mffff],zm1f
Post 18 Jun 2022, 05:31
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
mo10 xm0,[m0]
mo10 [mffff],xm7
Post 18 Jun 2022, 06:26
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18727
Location: In your JS exploiting you and your system
revolution
m1 x0,[mx0]
m2 y0,[my0]
m4 z0,[mz0]
Post 18 Jun 2022, 06:34
View user's profile Send private message Visit poster's website Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
128 Byte reg
mo80 AM0,[m0]
mo80 [m1f],AM1F

256 Byte reg
mo100 BM0,[m0]
mo100 [mffff],BMFFFF

512 Byte reg
mo200 CM0,[m0]
mo200 [mffffffff],CMFFFF ; mov 512 Bytes from CMFFFF reg to mffffffff memory box
Post 18 Jun 2022, 06:46
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
1024 B reg DM0
2048 EM0
4096 FM0
8192 GM0
16384 HM0
32768 IM0
65536 JM0

o1000 JM0,[m0]
o1000 [m3ff],JM0
8192x8192pix picture 1024 256x256 square pic.
Post 18 Jun 2022, 07:09
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
revolution wrote:
m1 x0,[mx0]
m2 y0,[my0]
m4 z0,[mz0]


w1 X0,[mx0]
w2 Y0,
w3 Z0,
w4 A0,
w5 B0,
w6 C0,
w7 D0,
w8 E0,
w9 F0,
wa G0,
wb H0,
wc I0,
wd J0,
Post 18 Jun 2022, 07:43
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18727
Location: In your JS exploiting you and your system
revolution
Fastestcodes wrote:
mo200 [mffffffff],CMFFFF ; mov 512 Bytes from CMFFFF reg to mffffffff memory box
Next comes the easy part: to build a CPU with 4kBit register lengths. Razz

Intel are so lazy, only going to 64 bits. Mad
Post 18 Jun 2022, 10:10
View user's profile Send private message Visit poster's website Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
Yes. We need 65536 Byte registers. J0 - J3FF, 1024 reg.
Health, knowledge, peace, evolution! Smile
)+(
Post 18 Jun 2022, 10:29
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18727
Location: In your JS exploiting you and your system
revolution
... and 1M data lines between CPU and memory to transfer 64kB in a single cycle.

Mobo makers are so lazy, only going to 128 bits/channel. Mad
Post 18 Jun 2022, 10:39
View user's profile Send private message Visit poster's website Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
Post 18 Jun 2022, 20:11
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
mov xmm0,xword[m+00000000h] = s00000000]
t
u
v
w
x
y
mov xmm7,xword[m+00000070h] = z00000070]

mov xword[m+02000000h],xmm0 = r02000000j
k
l
m
n
o
p
mov xword[m+02000070h],xmm7 = r02000070q
Post 30 Jun 2022, 06:00
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
Or
a0000000]
b
c
d
e
f
g
h0000007]

z0200000i
j
k
l
m
n
o
z0200007p
Post 30 Jun 2022, 08:13
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
Or
a0000000y
b
c
d
e
f
g
h0000007y

z0200000i
j
k
l
m
n
o
z0200007p
Post 30 Jun 2022, 10:28
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1223
Roman
Or 420 km\hour
Smile

Your code look like formula one racing.
Quote:

z0200000i
j
k v
l
m mmmm
n
o
z0200007p
Post 30 Jun 2022, 12:58
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
+1000km/h :-DDD

Or
a0000000z
b
c
d
e
f
g
h0000007z

y0200000i
j
k
l
m
n
o
y0200007p
Post 01 Jul 2022, 12:48
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 56
Fastestcodes
Or mem adresses only. From,to.0000000000000040.(little endian)
Post 04 Jul 2022, 06:54
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.