Looking at the dump, looks like an ARMv4T core indeed, the flash image looks like it loads at 0x20000000. It clearly has some ram at 0xF8005000 and peripherals seem to be around 0xC0000000 and 0xD0000000. There seems to be some ROM near 0x00000000, since some absolute calls are made to that. typical MCUs of this kind have ROM software libraries, for example 0xF8F2 has thumb-mode printf(), 0x14AD4 has thumb-mode func to read SPI flash ID vals, and 0xE900 has thumb-mode malloc()
Code begins with a pretty typical sequence of setting up a .bss and copying some preinited bytes into a .data, then setting stacks for each exception mode
Factory tests are in the binary and have a LOT of logging, incl register names and test names. With log messages giving func names and var names (eg: "In ListFolder: i32Offset=%d, (pBrowser0).u32FolderCnt=%d, (pBrowser0).u32FileCnt=%d"), Reverse engineering this should be of no serious difficulty. Sadly the display seems to be too low res for my interest (height is 64 pixels)
Nvidia is under SEC investigation around if they misled investors with regard to their circular financing and there is wide spread reporting on the entire 'GPUs going to china despite export laws' thing. I think it is fine to put 'if' here. There is a difference between if I had said 'If Nvidia is found criminally liable for random thing x' and 'If Nvidia is found criminally liable for things that are under open investigation'.
Exactly this. It is reasonable to say “if a thing that reasonably might have happened did happen” more so than “if a random thing with no evidence suggesting it did happen”.
You keep omitting critical truths about the SEC investigation to make it seem like a bigger deal than it actually is. They are specifically looking into how they have recorded geographic sales outside US to make sure that they match what was reported in their quarterly statement. This is not like an "Enron scale accounting fraud" that you and other HN users seem to hope for.
For Partial Evaluation, you must generate a "residual" version of the original program by specialization where all static data is already bound and evaluated.
Simplest example would be compiling in configuration parameters, so a specific code-path is preselected before runtime. Another classic example would be C++ template meta-programming where that part of the program is not evaluated at runtime.
I first came to know of these techniques from the classic Generative Programming: Methods, Tools, and Applications by Krzysztof Czarnecki and Ulrich W. Eisenecker which is still relevant today.
Checking with Google, it seems GCC does not have a separate partial evaluator but one can use coding techniques+aggressive optimization switches to approximate it. For separate "Futamura Projection" like partial evaluators there seem to be C-Mix/LLPE etc.
Thanks. The rogative aspect was whether the statements truthiness isn't sufficient indication to support your statement, not whether my statement itself is true.
Just FYI - There is lots more that GCC can apparently do w.r.t. partial evaluation. Google AI mode gave me 1) Code level constructs 2) Compile time switches and 3) Runtime partial evaluation using "libgccjit"!
I honestly don't understand your first two points, and I think the third point is something different, as it is a deliberate by the programmer and also it just invokes the compiler at runtime completely, meaning it does not partially compile it at actual compile time and only parametrize it at runtime. Or am I wrong on the last point?
I did not add the details since it was AI generated and so people can ask their favourite AI the same thing. Try it out; I did not realize so much of optimizations can be done under partial evaluation.
Note that most compile-time partial evaluation options are automatically included under -O3 switch.
Some of the techniques were interesting specifically profile guided and aggressive cloning based on hot paths.
Regarding libgccjit you are essentially right; basically you construct the IR for the active path with the runtime values as constants and then compile it in memory to get a pointer to the function. In that sense JIT is partial evaluation done at runtime.
I prefer to use sources that have the pretension of being true rather than just plausible (which often correlates with true).
You're longer explanation makes it even more confusing to me. Like I understand the words, but I fail to see the meaning that you want to convey to me. You are giving me "mongoDB is web-scale"-vibes.
To the last point are you saying that the programmer could essentially implement partial evaluation himself using libgccjit?
Honestly you could be saying interesting things, but I fail to get rid of the impression that I am just talking to a human proxy for an AI.
> What makes you think this is pass through of an actual cost not a surcharge padded for the sake of additional profit?
What makes you think their current prices match their production costs? Nothing. That's simply not how sales works. They charge a price, you buy or don't.
> Imagine what will happen to a valuation of ANT/OAI if China continues distilling our best models and offers theirs that are 90% as good for 10% of the price
Consumer wins -- same service at 1/10 the price.
> AI firms are now irrevocably intertwined with our entire economy
So was enron. Your argument is nonsensical. By that same logic we should not let anyone compete with any big company, lest that company lose valuation.
Perhaps this view is much less popular than you may think? For example, despite being a technie, I would campaign against that with all my might, write letters, and shout from the highest rooftops I could find. When I buy a locked down device, I buy it precisely for that. And no "just don't toggle the toggle" does not work, just like "just don't download viruses" did not work in the 2000s. I need a device that my grandmother CANNOT misuse, not even when a very patient scammer on the phone walking her through it.
The solution to this problem looks something like Windows S mode combined with an account managed by a family member. Once enrolled, the account manager has to approve an exit from the restricted mode.
Why do you object to a product existing that just does this, and me buying it? You don’t have to buy it. There is demand. There is supply. What’s your beef exactly? The product is iPhone. You don’t need to buy one. Buy a pixel or a fair phone or librem phone.
I object to the normalization of devices users don't control.
Google has been introducing restrictions on Android with significant anticompetitive and anti-user-freedom effects, and it seems to me they were inspired by Apple. The anchoring effect lets them position themselves as the "open" option as long as they're marginally less restrictive.
So your beef with Apple making a device I want and me buying it that an unrelated third party does something you also dislike but the market clearly does not mind? Curious stand.
Looking at the dump, looks like an ARMv4T core indeed, the flash image looks like it loads at 0x20000000. It clearly has some ram at 0xF8005000 and peripherals seem to be around 0xC0000000 and 0xD0000000. There seems to be some ROM near 0x00000000, since some absolute calls are made to that. typical MCUs of this kind have ROM software libraries, for example 0xF8F2 has thumb-mode printf(), 0x14AD4 has thumb-mode func to read SPI flash ID vals, and 0xE900 has thumb-mode malloc()
Code begins with a pretty typical sequence of setting up a .bss and copying some preinited bytes into a .data, then setting stacks for each exception mode
Factory tests are in the binary and have a LOT of logging, incl register names and test names. With log messages giving func names and var names (eg: "In ListFolder: i32Offset=%d, (pBrowser0).u32FolderCnt=%d, (pBrowser0).u32FileCnt=%d"), Reverse engineering this should be of no serious difficulty. Sadly the display seems to be too low res for my interest (height is 64 pixels)
EDIT: FWIW, archive.org has a product brief for this SoC (which is more than one usually gets for generalplus chips). It is useless due to lack of detail, but still, here: https://web.archive.org/web/20151226075810/http://www.genera...
reply