Discuss Scratch

MySuggestNot2Hard21
New to Scratch
25 posts

xmmintrin block.

As someone who is coding on Scratch. Denormal numbers are too laggy. I want to add the FTZ flag to solve this lag.
(2.2250738585072014e-308) / (2) // 1.1125369292536007e-308 - denormal number the source of the random lag

A solution is to add xmmintrin block as that supports the FTZ.
_mm_setcsr((_mm_getcsr :: sensing) | [0x8000] :: operators) :: sensing // flush to zero

That way, you also have other flags like DAZ.

It'd also make loops much faster so instead of doing
set [i v] to (0)
repeat (4)
change [i v] by (1)
replace item (i) of [val v] with (((item (i) of [val v]) * (a)) + (b))
end

I can do
set [SSEa v] to (_mm_load1_ps [a v] :: sensing)
set [SSEb v] to (_mm_load1_ps [b v] :: sensing)
set [v v] to (_mm_load_ps (item (i) of [vec v]) :: sensing)
set [v v] to(_mm_add_ps (_mm_mul_ps (v) (SSEa) :: sensing) (SSEb) :: sensing)
_mm_store_ps (item (i) of [vec v]) (v) :: sensing
So xmmintrin can be a replacement for
repeat ()

end
mybearworld
Scratcher
1000+ posts

xmmintrin block.

W-what? No support, it is too confusing. That's normally not a good reason, but for this it is.

Signatures are the only place where assets links still work.
wvj
Scratcher
1000+ posts

xmmintrin block.

troll

MasterofTheBrick
Scratcher
1000+ posts

xmmintrin block.

Pretty good troll for someone with 18 posts. Anyway please don't do it too often, it's spammy and gets annoying after awhile.
PkmnQ
Scratcher
1000+ posts

xmmintrin block.

MySuggestNot2Hard21 wrote:

As someone who is coding on Scratch. Denormal numbers are too laggy. I want to add the FTZ flag to solve this lag.
(2.2250738585072014e-308) / (2) // 1.1125369292536007e-308 - denormal number the source of the random lag

A solution is to add xmmintrin block as that supports the FTZ.
_mm_setcsr((_mm_getcsr :: sensing) | [0x8000] :: operators) :: sensing // flush to zero

That way, you also have other flags like DAZ.

It'd also make loops much faster so instead of doing
set [i v] to (0)
repeat (4)
change [i v] by (1)
replace item (i) of [val v] with (((item (i) of [val v]) * (a)) + (b))
end

I can do
set [SSEa v] to (_mm_load1_ps [a v] :: sensing)
set [SSEb v] to (_mm_load1_ps [b v] :: sensing)
set [v v] to (_mm_load_ps (item (i) of [vec v]) :: sensing)
set [v v] to(_mm_add_ps (_mm_mul_ps (v) (SSEa) :: sensing) (SSEb) :: sensing)
_mm_store_ps (item (i) of [vec v]) (v) :: sensing
So xmmintrin can be a replacement for
repeat ()

end
If you want these blocks then you're severly misunderstanding the purpose of Scratch.

This is an account that exists.

Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary

ScolderCreations
Scratcher
1000+ posts

xmmintrin block.

Looks like a joke, but still, too complicated

linearlemur
Scratcher
500+ posts

xmmintrin block.

wvj wrote:

troll

MasterofTheBrick wrote:

Pretty good troll for someone with 18 posts. Anyway please don't do it too often, it's spammy and gets annoying after awhile.

ScolderCreations wrote:

Looks like a joke, but still, too complicated

You should assume that all posts were made in good faith.


No support, this seems way too complicated and niche. It seems like it would only be helpful in like 2 projects and thats about it.

I found out how to put letters in cloud variables! https://turbowarp.org/526557379 (I really didn't feel like sharing the project, lol)
DarthVader4Life
Scratcher
1000+ posts

xmmintrin block.

linearlemur wrote:

wvj wrote:

troll

MasterofTheBrick wrote:

Pretty good troll for someone with 18 posts. Anyway please don't do it too often, it's spammy and gets annoying after awhile.

ScolderCreations wrote:

Looks like a joke, but still, too complicated

You should assume that all posts were made in good faith.


No support, this seems way too complicated and niche. It seems like it would only be helpful in like 2 projects and thats about it.
That's the wiki, and ScolderCreations addressed the possibility that this is serious, which it sounds like it is.

Be Moist Also, here's a helpful link to Ocular
I am DV4L, Erector of Text Walls, Typer of Long Posts, Creator of Mini-mod posts
The kumquats have eaten this line, so I have to have a new way to repel them.
Had a bad day or are feeling bored? Watch this to make your day better in an interesting way.
Do you think you've been banned unfairly? Then you'd be wrong. The ST aren't children, so quit acting like they are.
wvj
Scratcher
1000+ posts

xmmintrin block.

linearlemur wrote:

wvj wrote:

troll

MasterofTheBrick wrote:

Pretty good troll for someone with 18 posts. Anyway please don't do it too often, it's spammy and gets annoying after awhile.

ScolderCreations wrote:

Looks like a joke, but still, too complicated

You should assume that all posts were made in good faith.


No support, this seems way too complicated and niche. It seems like it would only be helpful in like 2 projects and thats about it.
It's a troll, look at their username and posts

ScratchCat1038
Scratcher
1000+ posts

xmmintrin block.

No Support. Scratch is supposed to be an introduction to programming, which is why 2 features that were significantly less complex got rejected (2d lists and 3d scratch). And besides, loops are just as good and very easy to understand.

shift+down to scroll
GIVE AN INTERNET
so i can feed my family


“if on edge, bounce” block visualization

oh, so you drink water?
describe the flavor without using the word “water”
hiPeeps124816
Scratcher
500+ posts

xmmintrin block.

You are completely misunderstanding Scratch's purpose. We don't do hex memory addresses or whatever here.

Generation 7: First time you see this? Copy and paste it on top of your signature in the forums and increase generation by 1.

thethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethe
Specs -
OS: macOS 11.6.4
Browser: Varies, usually Safari 15.3 or Opera GX 83 or Firefox 96
Computer: Late 2013 MacBook Pro 2.4GHz Dual Core Intel Core i5
highlight and shift down arrow




;
the2000
Scratcher
1000+ posts

xmmintrin block.

“Don't feed the trolls”
Scratch forumers: “That sign won't stop me because I can't read!”

ScolderCreations
Scratcher
1000+ posts

xmmintrin block.

the2000 wrote:

“Don't feed the trolls”
Scratch forumers: “That sign won't stop me because I can't read!”
l can read… I think…

Powered by DjangoBB