« first day (2557 days earlier)      last day (2393 days later) » 
00:00 - 23:0023:00 - 00:00

12:05 AM
is it me or default 'about me' page has changed
 
12:50 AM
@sehe Yeah, I noticed that. Personally, I'm less bothered by the implementations than the basic premise. Using new features where they really contribute something is fine, but placing use of new features first, and improvement of the code second is just horribly wrong...
 
@LucDanton Yeah, that's the thing that pisses me off with W10. Overall a good system, but the data collection is obnoxious.
 
yep, sorry
 
@sehe that's amazing!
 
 
1 hour later…
let's discuss existential crisis ...
 
4:02 AM
credit card provider called me and told me that my credit card has been compromised
no suspicious activity found so far from online banking ...
 
@Mikhail lol
 
4:51 AM
Yo, I don't understand this pin diagram:
For RGZ, COM can be wired to ground, right?
 
mr5
hi
I have a general question. Does the OS put the function calls into a queue first before firing it?
what happens when you call a function multiple times, disregarding if it's async or not, from the same instance and that function can be accessed by a single thread at a time only?
or this varies in languages?
 
thats not how a CPU works
 
mr5
so it just fires it upon call?
 
In the simplest form there is a program counter that evaluates an instruction, and then increments or is modified by a condition (aka, jump, if-statement)
In modern systems, the program is not "aware" of the OS
 
mr5
oh I thought app execution were still managed by the OS
I can't still grasp the concept, can you translate your explanation into higher level form?
 
5:02 AM
No, go learn ASM
 
5:35 AM
Assembly offers greater control over a program than most higher level languages
 
user406009
@Mikhail That doesn't seem like it would make sense.
 
user406009
Wouldn't -Vin be "ground"?
 
Not sure, why can't -Vin be (-5V)?
 
user406009
> RGZ is dual-output
 
user406009
Oh, that makes sense.
 
user406009
5:39 AM
I didn't even think of a converter having two outputs.
 
...
Yo, how the heck do I wire that chip?
 
@Mikhail You align the arrow with the mark on the corner of the socket. Place it in. Then lock it with the metal clamp. If you need to apply a lot of pressure, you're probably doing it wrong.
 
user406009
-Vin is your ground for the power source. +Vin is the power for the power source. COM is the ground output. -Vout is -5 V, +Vout is 5 V.
 
user406009
At least that's what I see.
 
kinda weird how -Vin does not equal +Vin :-)
Yeah, but I'm still confused as to what COM does...
Does it just give me a new ground for the rest of the circuit?
 
user406009
5:42 AM
It's the ground output.
 
user406009
Yeah, the new ground for the rest of the circuit.
 
user406009
On the single output chips, it would appear that -Vout would be the new ground. But this is a fancy dual output chip.
 
user406009
That's a shitty datasheet.
 
I just don't wanna live in a world where -Vin != +Vin
The chip is nice but its also flipped up-sidedown
 
user406009
Well, you see, who says ground has to be zero?
 
user406009
5:45 AM
Just imagine that ground is -2.5V and your power is 2.5V or whatever.
 
user406009
Problem solved.
 
Umm, but in my case -Vin = 0 and +Vin = 5v
cool part is that if you wire it up wrong you get 100 V
 
user406009
I wonder if you could chain them to build up higher voltages.
 
thats what I'm doing
I need ~ 500 V
 
user406009
This seems like an odd solution to getting 500 V.
 
5:49 AM
I need 500V off a USB
 
user406009
Ah.
 
Its actually quite common, these chips are used in many medical devices, similar stuff is used to power the LCD on a phone, which at the liquid crystal is going to be around 50 V
 
user406009
I guess you just need like 10 of the 5V to +-24V thingies.
 
its going to be great
 
user406009
Just don't kill yourself :P
 
5:52 AM
Don't worry. I realized I don't wanna go to work tomorrow because then I'd have to leave today.
 
user406009
For interest's sake, what do you need the high voltage for?
 
powering a variable retarder
 
user406009
Oh, some sort of optics thingy.
 
6:06 AM
Now how do I get rid of DC on my OP AMP?
Can't find any trim pins
 
Ell
6:22 AM
@Mikhail use a better op amp
or ac couple vOv
 
@Mikhail @Fanael Oh for fucks sake:
user image
2
 
the only thing wrong is the KNL debacle
also isn't 4FMAP supported on other targets? That's the machine learning one?
 
GFNI looks like Galois Field arithmetic.
Looks like they have a lot of dark silicon to burn.
 
Might be important for some crypto. Curious if its on a per-core or a per chip? I thought some of them were per-chip and did terrible things to execution flow...
 
VBMI2 adds byte-granular compress/expand. What looks like a generalized version of alignr for all word sizes.
VNNI is multiply-add for integer bytes and words with and without saturation.
BITALG has SIMD popcount for different word sizes as well as some weird bit/mask shuffling shit that I can't figure out yet.
Intel is just trolling AMD at this point. Because if and when AMD attempts to reach feature parity with Intel, they're gonna be in for a ride.
VAES extends the AES instructions from 128-bit to 512-bit.
VPCLMUL is a vectorized version of the existing carry-less multiply added in Westmere with the original AES instructions.
 
7:23 AM
@Mikhail Most likely per core. Making it per chip would make the latencies horrifically expensive if you have to traverse the die. And it makes copy-pasting of the cores harder.
 
7:39 AM
Morning loungers!
 
Hey ^^
 
8:04 AM
@Morwenn I have been reading Neal Stephenson's Anathem and it feels similar to Hyperion. Maybe you would like to check it out?
 
@fredoverflow based on that response, I think you get what I mean :P erm... if you fancy joining discord I think I could do it over that :\
 
Oh, you guise have read Hyperion?
I'm considering reading it... Is it good?
 
@Rerito ye
 
Should I go for the original or a french translation (I'm asking @Morwenn :p)
 
Have you read dune?
 
8:13 AM
nope
I haven't read much SF
 
@Horttanainen I've got a few books to finish first, but I'll try to keep that in mind :p
 
Fuck Hyperion then, you need to read dune :P
 
The only "modern" SF book I read is The Windup Girl
 
@Rerito I read the French translation and found it good
Let's say that the scenario is already incredible enough, so it might be good even if the writing was bad
I never read Dune ^^'
 
Dune was long and boring :-)
 
8:15 AM
@Morwenn Yet you have other books on your list? Please
 
@Horttanainen Yeah, I'm trying to finish the Riftwar Cycle
I tried to start Dune once but never got past the first chapter x)
 
I remember having started Dune way back during my highschool years
And I found it boring
 
@Morwenn I don't get how you got past the first chapter of Hyperion then :D
Have you guys read 1984?
 
yes
 
Was it long and boring also?
 
8:21 AM
No
 
@Horttanainen It's been a while since I've read it
 
Correct
@ratchetfreak How did you like it?
 
Trying to read Infinite Jest, but might give up
 
It was interesting
 
I could not put it down
 
8:22 AM
downer ending though
 
The ending was the best
Its the right ending
 
yeah not much else you can believably do with the way the events went
 
@Horttanainen I started it but didn't finished it
I mainly read during my daily commute and sometimes I'm too tired to do so
I was exhausted a few weeks in a row so ended up giving up on the book
 
@Rerito Audio books are easier if you dont have the time to sit down and read
 
@Horttanainen I like to read some sentences/paragraphs multiple times
It would be a PITA with audio books
 
8:26 AM
@Horttanainen I probably wasn't in the same mood
 
@Rerito Audible app has this jump 30 seconds backwards button
 
It's just not the same thing ><
 
I have almost completely transitioned from reading to listening. It is just so much easier to just lie down and listen
 
Also you can go to the gym...
 
@Mikhail I could not focus on a 5 rep max deadlift and an audio book at the same time :D
 
8:33 AM
 
:D nice
 
Also Midnight's Children was a disappointment, or rather doesn't age well if you don't have an orgasm at each cultural reference
 
Uh, I want really want to kill ip-based "security" forced down my throat by some services
It's just way beyong fucking annoying
 
how about voice coding while running a marathon?
 
@Mikhail pfff
 
8:51 AM
Hi
 
@Mikhail that explains it
Sep 24 at 13:31, by milleniumbug
I wonder what he's using the second hand for while programming
 
9:14 AM
@Mikhail 500V isn't the problem. But you won't get much more than 0.005A out of it. It's not a lot to power anything
USB3 would possibly allow twice as much more current. Otherwise you'd need a USB port which has an external powersupply.
 
@milleniumbug That history-fu
 
I think the worst part about programming is starting to work.
 
getting started and finishing are the hardest parts of programming
 
9:34 AM
Plus everything in the middle too
 
@Morwenn nah that part is pretty enjoyable
 
@ratchetfreak don’t even get me started though
 
Designing programs is way more enjoyable than to actually write them
And over engineering. Thats the stuff
 
and then culling your over-engineered design with some pragmatism
 
Its all good
 
9:39 AM
I still need to implement branchless comparison in my pair type
 
@Morwenn nah getting started is the worst. I've been sitting for 4 hours and can't get started.
 
As long as you didn't start you still don't have anything to maintain, so that's ok x)
 
This is the main difference with more physical stuff. I welded a doorgate this saturday.
The only thing that stopped me from working was rain/lack of light (well lack of light can be fixed with lamps)
 
and rain can be fixed with a tent
 
Yeah put that tent over a 2m high fence
by all mean if you want to design/build a fence, make sure you don't need to weld anything
 
9:47 AM
s/tent/tarp on poles/
but then anyone with a wrench can come and disassemble it
 
Not if the bolts are inside only
 
hi
this is the place for haskell questions right?
 
Also, if you build a brick wall instead of a fence there is nothing to "disassemble"
 
@LoïcFaure-Lacroix sledge hammer can disassemble a brick and mortar wall.
@LoïcFaure-Lacroix only if those bolts are truly inaccessible from outside
 
@ratchetfreak if someone really wants to break in your territory, there is literally nothing that can save your wall/fence
 
9:53 AM
@ratchetfreak You can do a favor for the grandkids and to round all the nuts and bolts with a tool like this: tyokalutori.fi/WebRoot/vilkasfi02/Shops/2017020618/589D/6AAC/…
 
@Horttanainen you can take those bolts out with that exactly same tool.
 
@Horttanainen or use snap-off bolts
 
Just pour cement over them so nobody knows where are the bolts
 
Just chain a fucking tiger every three meters along the wall and you are fine
 
@Horttanainen just dig 2m deep around the fence, pour water to 1m and add some crocodiles.
 
9:57 AM
yes. And a mine field around the trench
Keep your hands of mah fence
 
But just to be certain, put your house in the center of a maze that changes overtime
But yeah welding sucks, I got molten metal flying through my clothes
 
In age of empires my number one tactic to keep enemies away from my wall is to build another wall
 
nwp
I thought you type some code and get a car to shoot at them.
I wonder if the Equifax hack is a blessing in disguise.
(there is some Java with println debugging in there)
Basically the only way to protect yourself when you signed something with your private key that you absolutely should not have signed is to leak your private key to have any chance of deniability.
And now that everyone has the personal data of everyone there is no expectation that personal data is enough for things like buying a house, which raises the question what is.
 
@slaphappy in afraid to few people recognised you. Abs those present don't Haskell al that much (yeah, go figure)
 
nwp
Maybe this is the dawn of some better system.
 
10:05 AM
The perils of changing usernames, in part
 
10:38 AM
it's so dark in Bristol right now, I had to turn my lights on when getting up at 11am
 
Hurricane clouds
 
yeah
the hurricane is projected to miss Bristol but not by much
 
We got the same here in the morning, but they disappeared
 
it'll whack nearly all of Ireland, Northern Ireland and Scotland
 
Plus the atmosphere was warm while there were strong winds, which is prettu unusual
Most of the time the winds are just cold af
 
10:59 AM
Eh, GitHub's « Discover Repositories » shows me tons of Rust projects
 
@slaphappy lol
 
nwp
11:10 AM
-3
A: Can I cast Bestow Curse twice at greater than 5th level on the same creature?

Dilakshan Sooriyanathanwhat is this all about? spells? curse? are you guys crazy ? or is this question related to a game?

 
0
Q: How to load large data from txt file in Qt

CroCoI need to load a txt file with 5 millions data (i.e. strings, just one word with 9 characters per word separated by new line.) into QVector as fast as possible. The code is now working just fine however, if the user hits upload, the application takes 3-5 seconds to load this data for further mani...

Question titles that should not exist
 
nwp
What's wrong with that title?
I think "How to do X" is not a proper question in english, but unlike problematic titles it lets you know what the question is about just from the title in fairly high detail.
 
11:25 AM
Oh joy... WPA2 is dead
5
 
they want to test if you can ask a question on SO or do they want to test if you can get the task done by your own? — tobi303 11 mins ago
 
12:27 PM
google map only allows 10 intermediate places, so if you have a month long road trip, it's hard to trace it on google map
 
Uuuuh, why are people using static_math? It was a tiny project, not meant to be used by people for serious stuff ç___ç
 
@Mgetz And 1024/2048bit RSA keys. What a time to be alive
@nwp "How to bake an egg as a Jaguar owner?"
 
nwp
I consider Qt to be a dialect of C++. Once you opt into Qt-C++ it makes sense to ask specifically about Qt-C++ solutions as opposed to C++ solutions.
 
That's the illness. That shouldn't exist.
 
nwp
I'm amused by this "SO is cluttering my screen with noise"-question. So many great comments.
 
12:37 PM
@sehe but it's not going away unless someone creates a better cross platform gui library and has the pr skills to push out the established power player
 
nwp
Which reminds me that I still need to try out copperspice.
Their PR is pretty abysmal though, at least the talks they held on it were.
a.k.a. "we hired too many people to build banners so we need more banners to pay their salaries". It's a trap! — Arthur Tarasov 4 hours ago
I never thought of it that way.
 
> The AI has learned how to spell, and no longer look for "soceities" missions when they're actually called "societies" missions. With this newfound ability to spell, the AI is better at identifying mission target
oh good, stringly-typed AI
 
12:56 PM
@ratchetfreak hola. Qt isn't the disease. It being a GUI library isn't the issue (that rocks). People mistaking it for a religion or buying into the framework to the extent that it corrupts the idea of C++ is the problem
@LucDanton is intelligence typed? Isn't it essence the ability to distill types and logic? That discovery to me seems to be primarily a statistical method of pattern detection
 
nwp
I don't think you have a choice. Event using only the GUI part forces raw owning pointers, a different memory management model, stringly typed signal/slots and various rules about templates, typedefs and typetraits that are incompatible with C++.
 
@sehe oh, I guess without the context it’s not obvious but the tone is sarcastic. there’s no new ability, the typo was fixed
 
nwp
To be fair they did make some progress on reducing the stringly types.
 
it's more of a framework than just a gui lib
 
1:22 PM
Also they deprecated their algorithms library
 
nwp
I don't think I every knowingly used a Qt algorithm.
 
@sehe I’ve noticed I’m missing some of tpope’s goodness and what do you know, there’s this one (for dates if not for version numbers)
 
@LucDanton I have no use for it, but yeah. tpope is quite prolific. The most astounding thing is that the breadth of his scope matches the depth of his implementation
@nwp You always have a choice. There's clearly zarroo reason to load files using the primitives from the GUI framework (and insofar that there might be such reason (e.g. printing ready made PDFs?) you shouldn't have to worry about the costs)
@nwp Oh yeah. That's why I maintain Qt rocks. It keeps on showing "agility" - moving along with modern c++ (nevermind the lag) and e.g. acheiving Android compatibility. Those are no simple feats.
@LucDanton Lol. I did assume the AI figured out the value of orthography when querying the webs.
Which seems completely plausible (based on statistics alone) and relevant
 
1:37 PM
it was one of those deliberately out-of-context quotes I like to paste here, so I don’t blame you for re-contextualising :)
 
In fact, isn't human orthography largely based on the same kind of statistics (varnished with a thin layer of formalization)
@LucDanton :)
 
1:49 PM
@Borgleader yeah I saw, the FSB must be giggling like schoolgirls
 
user784668
@Mysticial how the fuck
 
user784668
Is it just regular AES stuff but 4 lanes in parallel?
 
user784668
Do they realize they could achieve the same thing without requiring changes to existing code by making 4 separate AES units?
 
user784668
Existing crypto libraries already parallelize AES operations as much as possible.
 
@Fanael not sure that's possible unless you're doing ECB... as far as I know GCM and the rest require AES operations to run over the entire stream in sequence
 
2:02 PM
There is also CTR that lets you parallelize blocks
 
2:24 PM
 
user784668
2:49 PM
@Mgetz It's possible in CTR which is the single most used mode.
 
user784668
And in XTS too.
 
user784668
@Mgetz GCM is not really a mode, it's just CTR + GHASH.
 
user784668
@Mgetz And even in CBC mode you can decrypt blocks in parallel.
 
3:24 PM
So I got some email a few days ago from someone claiming to have found "several possible large prime numbers". My response was that I didn't really believe him. So he sent me two of them. And I factored them in about 10 seconds.
@Fanael Or maybe it's just the same as the existing ones, just wider. So 4x the throughput.
 
@Mysticial finding possible primes is easy... proving they are really primes... is hard
 
16 is a possible prime
in the end it's not a prime but it was possible
 
@Mgetz The guy was like, "I'm incredible, I've generated a list of the first 100000 Fibonacci numbers". And, "I have generated the largest known Perfect number". Anyone who knows even a tiny bit of number theory will know this guy is either trolling or completely clueless.
 
@Mysticial IIRC there are Ph.Ds on this stuff... that still haven't made breakthroughs
 
Both of those are incredibly easy to do due. And he was presenting them like they were "accomplishments". Basically I duplicated them in about 1 minute with 2 lines of Mathematica.
And then he wants my computational power to help him prove that his 100+ million digit "prime" is prime.
 
nwp
3:30 PM
You could tell him that it's too big a challenge for you and that he needs to go web scale.
 
@Mysticial send him a bill for the computation power used.
 
I had a longer email breaking down every part of his last email and all of his claims to explain why I wasn't taking him seriously. Then he sent me those two "prime candidates". He claimed that 2^1572865-1 and 2^3145729-1 are "possible primes". Okay, even if he knew they were not prime, he should've at least picked numbers that are harder to factor than those two. Especially since those are Mersenne numbers which have already been cleared by a distributed computing project.
@Mgetz One of his claims that is that some of the 100000+ Fibonnaci numbers that he has are prime. But he clearly doesn't understand that deterministic primality testing is really hard.
 
@nwp Damn, I was expecting that MongoDB video
 
user784668
3:57 PM
@Mysticial Yes, that's what I'm saying.
 
or there actually are 4 AES units now and some intern decided to dedicate a instruction to firing them all up at the same time.
 
@ratchetfreak IIRC, Intel is getting their ass kicked by Ryzen in the AES department because they have multiple AES units. So maybe this is Intel's response. More copy-paste.
 
user784668
@Mgetz It's an implementation bug that's already fixed upstream, and at least in Debian and OpenBSD.
 
user784668
@Mysticial Does Ryzen reach 10 GB/s in aes-128-ctr?
 
nwp
@Fanael Says here it's a bug in the standard, but that it can be fixed with a firmware patch.
Patched devices would cease to be WPA2 compliant though.
 
user784668
4:04 PM
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128-ctr     484496.90k  1644899.82k  3534018.88k  4883533.90k  5424314.30k  5574823.27k
 
@Fanael Maybe I remembered wrong: techreport.com/review/31366/…
 
user784668
@Mysticial Looking at Agner's tables, aes{enc,dec} has four cycle latency and half cycle throughput on Ryzen.
 
user784668
7 latency/1 throughput on Haswell.
 
user784668
So if Haswell achieves 5.5 GB/s, Ryzen should do twice that no problem.
 
This list of new AVX512 instructions initially looked too specialized for me to find any of them useful. But I'll need to take a closer look at them. The Galois stuff might be the thing for Reed-Solomon encoding for RAID storage.
 
user784668
4:07 PM
@Mysticial Is the list available anywhere?
 
One of the reasons why I never used Reed-Solomon is because it's slow and has cubic complexity to interpolate. Dedicated hardware for Galois will fix the slow part. But not the cubic complexity.
@Fanael That image I linked you?
 
user784668
At any rate, I find it pretty funny that Intel added SHA-1 and AES instructions now that both are broken.
 
AES is broken?
 
user784668
Yes, there are attacks faster than 2^128/2^192/2^256 against full cipher.
 
user784668
n-bit AES gives you only n-2 bits of security.
 
4:10 PM
oooh nooes
 
user784668
Which is still fine, but still, AES is theoretically broken.
 
not broken enough
 
as long as it's beyond the heatdeath of the universe it's not broken
 
user784668
Tinfoil hat mode on: NIST chose Rijndael instead of Serpent because NSA told them to, because it's much weaker and much harder to implement correctly in software.
 
The total list of instructions isn't that much.
It's just that Intel gave all of them different names under different CPUID flags.
 
user784668
4:14 PM
@Mysticial What's next, paying premium for a CPU that has movdqa? Intel market segmentation really sucks.
 
I think we have a new candidate for the longest instruction name: GF2P8AFFINEINVQB
 
user784668
@Mysticial VAESKEYGENASSIST
 
GF2P8AFFINEINVQB vs TransactionAwarePersistenceManagerFactoryProxy, FIGHT!!!
 
user784668
@milleniumbug AccessCheckByTypeResultListAndAuditAlarmByHandle wins!
 
FATALITY
 
4:20 PM
vpcompress is handy for SIMD filtering, where you first iterate over the array and do a quick condition and only write out pointers to stuff where cond == true
 
user784668
@Mysticial Galois stuff is very useful for crypto
 
user784668
@Mysticial You know what I'd rather see instead?
 
user784668
A ternary store µop.
 
user784668
It's been almost five years since Intel's first CPU capable of having ternary µops.
 
user784668
And yet memory stores are still split into two because of P6's "two inputs, two outputs" legacy.
 
user784668
4:28 PM
Microfusing helps, but not always, because it sometimes fails.
 
user784668
Oh, and fixing the performance counters so that profilers stop attributing the cost of branch mispredictions, cache misses, divisions, bus events, etc. to the instructions that depend on them.
 
4:43 PM
@Fanael What's that?
@ratchetfreak That already exists in 32-bit and 64-bit granularity. Now they're extending it to byte-granularity. I'm surprised they didn't add it in Cannonlake since they already have the shuffle hardware needed for it in that gen.
 
Anyone know what library has the acotan function it's not part of cmath and someone gave me a function that uses it that was designed for c++
 
Actually nevermind. Using the shuffle unit only works if you have a sufficiently large lookup table to hold the permute vectors that input into it. You can't do a 64-bit lookup table. So it's gotta be doing something more specialized.
 
 
1 hour later…
6:13 PM
@ZacharySchwatz The most common definition I've seen is that arcotangent(x) == atan(1/x). Obviously, only defined for x != 0.
 
 
1 hour later…
7:35 PM
> We are very pleased to announce that Overgrowth has reached its 1.0 milestone today, and has left early access!
so soon! cc @CatPlusPlus
 
@Fanael Everything is working pretty good. But I had to double up on USB ports...
 
Not even done with this yet, but it's really interesting so far
 
Now I gotta resolve the DC in my OP AMP, problem is that the DC changes when I bend the circuit. Sad part is that I'm officially getting a PhD in EE :-)
Also maybe change the tool-chain to do build actual C++, because I can't figure out how to do a pseudo inverse in the Arduino native C/C++ dialect
 
8:10 PM
@fredoverflow I stopped reading at presheaves
 
preshaves
 
@thecoshman If you send me the slides, I wouldn't mind taking a look...
 
user784668
8:51 PM
@Mysticial Something so advanced it's literally beyond Intel's comprehension.
 
user784668
@Mysticial But joking aside, it's just a regular store operation, that doesn't split address calculation and actual store into separate µops merely because that's how P6 had to do it because it was strictly restricted to two inputs per µop, while stores may have three.
 
@Fanael What about loads?
 
user784668
@Mysticial Loads have at most two inputs and thus are single µops even on original P6.
 
Oh right, stores have no output.
 
user784668
Stores have the data to store and the base and index registers as inputs.
 
9:01 PM
But how does complex-addressing get around the 2-input problem? If you load from [rax + rbx*8 + 128]. Especially if you do something like fmadd231pd zmm0{k1}, zmm1, ZMMWORD_PTR [rax + rbx*8 + 128]. That's 5 inputs. And it looks to be 2 uops?
On wait, rax + rbx*8 + 128 is still two inputs.
Nevermind, I'm stupid.
7
 
user784668
@Mysticial That's Skylake-X, which is capable of ternary µops, so the masked FMA is one, and the load is another.
 
I just want more memory bandwidth. Intel should do away with with 2 DIMMs/channel and have one channel per DIMM. So 4-channel desktop and 8-channel HEDT.
And I'd like 32 GPRs.
 
user784668
@Mysticial I want less market segmentation.
 
user784668
Give me AVX and ECC in Celerons.
 
I've also been running into cases where I end up spilling 7 mask registers. But those can largely be worked-around with zero overhead.
@Fanael Stop buying Celerons. :P
 
user784668
9:06 PM
@Mysticial Won't help, there's still no ECC even in Core i9.
 
Buy normal ram, and underclock it. Or better yet, get a lead box.
TBH, ECC doesn't protect against IMC instability. And nearly all memory errors I've ever seen are from IMC instability.
 
How can I buy 128 GB sticks that aren't ECC?
:-)
 
9:20 PM
@Borgleader me too. I have no idea what it means, but it didn't tickle my curiosity as a word that might be interesting.
 
My wish list for the x86 ISA itself is:
- 32 GPRs
- Block prefetch. (prefetch an entire memory block into cache)
- Unaligned and masked NT store.
- Full 213, 132, and 231 treatment for the IFMA52 instructions. (right now only 231 is supported)
- A non-destructive multiply-only version of the IFMA52 instructions (with no accumulation).
- A version of unpacklo_ps/epi32 that pulls from adjacent 32-bit lanes instead of 64-bits away.
- A version of `vshuff64x2` and family that allows pulling from ABAB instead of AABB.
 
Make Mondas Leibniz Again
 
All of these except for block prefetch and byte-granular align are architectually difficult to implement. They just require a way to encode it.
 
@Mysticial Yeah, x86 needs explicit cache management like in CUDA. I'm curious if something like this can be implemented at the compiler level?
I'm pretty sure most people manage the cache in x86 with a "mirrored" structure. Which is like CUDA when done right, but different if you do it wrong on x86.
 
And also a rotate instruction for the AVX512 masks. And lower latencies for them in general. 4 cycles is kinda ridiculous.
A vpmulhq would be nice. But I don't see a way to make it efficient without a native 64-bit multiplier.
 
9:34 PM
I know some of those words.
 
@Mikhail NT stores are probably the coolest thing of the shitty cache management instructions right now. Especially the 512-bit one with AVX512. No write-combining or buffering needed at all. Direct to memory.
 
10:21 PM
@Borgleader certainly. Her speach is problematic for me though (continuous half-fry and that weird accent that makes all es and as similarly affected ("collæct", "put thæt ræfurænce bæck")
 
10:45 PM
@Mysticial What are NT stores?
 
@Puppy Non-temporal stores.
 
not to be confused with NT whores
 
The "non-temporal" means that you won't be using the data again for a while.
The processor uses that hint to not cache the data, bypass the cache coherency among other things.
 
@Puppy It's a write that goes directly to memory without changing the data in the cache. A normal write will read in a line of data, modify it, then write it back out. An NT store just writes it out without reading in that line first.
 
10:49 PM
The main draw of NT stores is that you avoid the read in "read-modify-write" when writing to memory. So you save half the memory bandwidth.
 
also why normal people call them streaming extensions
 
In the past, the processor keeps an "NT store buffer" which watches NT stores as they come in. Once a cache line is filled up, it sends the entire thing to memory. Any cacheline left unfilled take a massive stall as the core needs to do the read from memory. So when you use NT-stores you need to be filling up entire cachelines.
 
@Mikhail I think that's mostly because they're (at least sort of) associated with SSE, which is "streaming SIMD extensions".
 
@JerryCoffin idk, I like to think of it as the perfect way to stream to memory, if you don't plan to read from that location.
 
That problem largely goes away with AVX512 since the size of the NT-store is the cacheline itself. So there's no combining logic needed and you can't split a cacheline. 512-bit NT stores have been measured to be faster than 256-bit NT stores presumably for this reason.
 
10:53 PM
@Mikhail I'm not arguing against that--just saying that I think most people who think of it at all understand little beyond that fact that it's associated with SSE somehow or other.
 
most people don't know what SSE is :-)
 
@Mikhail Of course--that's why I included the "who think of it at all"...
 
@sehe Yeah, that was a bit unfortunate, but the content was excellent. It's an interesting system and I liked learning about some of the transformations they do using PGO (like inlining hot calls)
 
@JerryCoffin ( ͡°_ʖ ͡°)
 
i used avx2 streaming for texture decompression and it was good amount faster than store
 
10:57 PM
@Froglegs One of the first things I measured when I built my Skylake X system was the performance with and without disabling all the NT stores. And it was something stupid like 10 - 20%.
Recently, I did an experiment where I optimized a several functions that collectively accounted for less than 0.5% of the total CPU time.
What I did was to replace the stores with NT-stores and making any necessary alignment hacks to make it work even at the cost of increased computation.
That sped up the entire program by around 1 - 2%.
The motivation was that even though those functions were 0.5% of the total run-time, they were consuming what I estimated to be around 5% of the total memory bandwidth consumption.
And other parts of the program were desperately starved for bandwidth.
 
00:00 - 23:0023:00 - 00:00

« first day (2557 days earlier)      last day (2393 days later) »