Search found 41 matches

by JoeDuarte
2020-06-15, 12:50:46
Forum: forwardcom forum
Topic: Implications of ForwardCom memory management approach
Replies: 15
Views: 31472

Re: Implications of ForwardCom memory management approach

I was thinking today that I don't know why you care about not having page tables and a TLB. What's the problem? It takes hardware resources? So what? Is it really a big a problem to have page tables and TLBs, or is this more of an esthetic preference? One other thing to keep in mind is that you don'...
by JoeDuarte
2020-06-01, 0:11:35
Forum: forwardcom forum
Topic: Implications of ForwardCom memory management approach
Replies: 15
Views: 31472

Re: Implications of ForwardCom memory management approach

Apropos of this discussion, Microsoft is rolling out a new segment heap architecture that seems similar in some respects: https://www.blackhat.com/docs/us-16/mat ... ernals.pdf
by JoeDuarte
2020-05-27, 14:23:54
Forum: forwardcom forum
Topic: Methodology for choosing instructions to include or omit
Replies: 2
Views: 7949

Re: Methodology for choosing instructions to include or omit

I just thought of something. Are you familiar with superoptimization and superoptimizing compilers like STOKE? Link: http://stoke.stanford.edu/ STOKE achieves the fastest possible machine code for a given function or other code segment. It's paired with gcc, so it superoptimizes C and C++ code. It e...
by JoeDuarte
2020-05-15, 18:48:42
Forum: forwardcom forum
Topic: Methodology for choosing instructions to include or omit
Replies: 2
Views: 7949

Methodology for choosing instructions to include or omit

Hi Agner – What's the methodology for deciding on the specific instructions to include in the ISA? Is likely application performance a factor? How do you model it or make predictions about likely performance? John Regehr's post on Discovering New Instructions seems relevant and helpful: https://blog...
by JoeDuarte
2020-05-05, 0:13:27
Forum: forwardcom forum
Topic: Heterogenous cores / instruction sets
Replies: 3
Views: 9214

Heterogenous cores / instruction sets

Hi Agner – The implicit assumption of most ISAs, and of ForwardCom, is that all cores are the same and implement the same instructions. Why? Would there be a benefit of having some cores be simpler, implementing a subset of the ISA? For example, does every core need to support floating point? Or wid...
by JoeDuarte
2020-05-02, 12:55:17
Forum: forwardcom forum
Topic: Using Forwardcom as a GPU?
Replies: 11
Views: 22081

Re: Using Forwardcom as a GPU?

This reminds me that fast Bezier curve performance would be very useful, without having to worry about being a traditional GPU. Bezier curves are central to a lot of 2D rendering, including fonts and vector graphics like SVG. Some are quadratic and some are cubic. I'm looking into this and it seems...
by JoeDuarte
2020-05-01, 19:40:50
Forum: forwardcom forum
Topic: Implications of ForwardCom memory management approach
Replies: 15
Views: 31472

Implications of ForwardCom memory management approach

Hi all — What are the software development implications of the ForwardCom approach to memory management? The approach is summarized here: https://forwardcom.info/#memory_management There was a thread on Agner's blog, but I can't find it. What stood out to me was: the stack being calculated in advanc...
by JoeDuarte
2020-04-29, 14:21:37
Forum: forwardcom forum
Topic: Using Forwardcom as a GPU?
Replies: 11
Views: 22081

Re: Using Forwardcom as a GPU?

This reminds me that fast Bezier curve performance would be very useful, without having to worry about being a traditional GPU. Bezier curves are central to a lot of 2D rendering, including fonts and vector graphics like SVG. Some are quadratic and some are cubic.
by JoeDuarte
2019-11-09, 12:07:25
Forum: forwardcom forum
Topic: First RISC-V OoO core
Replies: 0
Views: 28211

First RISC-V OoO core

SiFive, the company founded by the academics who designed the RISC-V ISA, has introduced the first Out-of-Order RISC-V core. Some info on the microarchitecture here: https://www.anandtech.com/show/15036/si ... essor-ip/2
by JoeDuarte
2019-02-18, 18:13:17
Forum: forwardcom forum
Topic: How to know if an instruction requires microcode
Replies: 3
Views: 12963

Re: How to know if an instruction requires microcode

Thanks Agner. If it's inefficient on current architectures why do they do it? Do you expect ForwardCom to be faster than x86-64, or would you be using less energy or something? This looks like RISC. You had said at some point that you were drawing from both RISC and CISC approaches? Where is the CIS...
by JoeDuarte
2019-02-16, 1:53:02
Forum: forwardcom forum
Topic: How to know if an instruction requires microcode
Replies: 3
Views: 12963

How to know if an instruction requires microcode

Hi Agner -- What determines if an instruction will require microcode? You had mentioned in the past that you didn't want to use microcode or wanted to minimize the amount of microcode. How is this done? How do you know in advance whether instructions will need microcode?
by JoeDuarte
2019-01-22, 20:44:42
Forum: forwardcom forum
Topic: Computational standards compliance
Replies: 3
Views: 12585

Re: Computational standards compliance

x86 extended precision is 80 bits: https://en.wikipedia.org/wiki/Extended_ ... ion_format

Is there a broader use of the term "extended precision" that means 128 bits? If so, what do they call the 80-bit form?
by JoeDuarte
2019-01-20, 23:01:33
Forum: forwardcom forum
Topic: Computational standards compliance
Replies: 3
Views: 12585

Computational standards compliance

Hi Agner -- I suggest that the ForwardCom specification be explicit about compliance or noncompliance with the relevant computational/math standards. You cite IEEE 754-2008 sometimes in the document, but the more comprehensive and international standard is ISO/IEC 10967, which includes not only floa...
by JoeDuarte
2018-10-28, 4:42:30
Forum: forwardcom forum
Topic: Interesting new ISA: MRISC32
Replies: 13
Views: 35111

Re: Interesting new ISA: MRISC32

Parabix is the most innovative project I've seen using hardware acceleration for string processing: http://parabix.costar.sfu.ca/

They also propose new instructions that would improve upon the SSE 4.2 and AVX-style approaches.
by JoeDuarte
2018-08-25, 20:07:51
Forum: forwardcom forum
Topic: Interesting new ISA: MRISC32
Replies: 13
Views: 35111

Re: Interesting new ISA: MRISC32

By the way, I'll ask you the same question I asked him. Is there any advantage to treating chars/strings as a basic type in an ISA, instead of treating them as integers? There should be fewer operations possible with them compared to integers – does that knowledge create any opportunities for optimi...
by JoeDuarte
2018-08-25, 2:24:26
Forum: forwardcom forum
Topic: Interesting new ISA: MRISC32
Replies: 13
Views: 35111

Interesting new ISA: MRISC32

Hi all – I thought this might interest you. It's a "vector-first" ISA: http://www.bitsnbites.eu/the-mrisc32-a- ... pu-design/
by JoeDuarte
2018-07-19, 6:30:51
Forum: forwardcom forum
Topic: Forwardcom and caching models
Replies: 15
Views: 40238

Re: Forwardcom and caching models

Compilers can't generally figure out how to move calculations to a second thread - they can't track all the potential side effects. This applies not only to C++, but also pretty much all higher level languages like Java and Javascript and whatnot. But could compilers be made to have such abilities ...
by JoeDuarte
2018-07-19, 6:23:46
Forum: forwardcom forum
Topic: Is ForwardCom LLVM-friendly
Replies: 2
Views: 15019

Is ForwardCom LLVM-friendly

Hi Agner – How difficult do you anticipate it will be to build an LLVM backend for ForwardCom? This requires compiling LLVM bytecode (or bitcode?) into ForwardCom assembly. Your ideas and constructs are much newer and fresher than LLVM, so I wonder if there might be some fundamental incompatibilitie...
by JoeDuarte
2018-07-19, 6:15:18
Forum: forwardcom forum
Topic: Forwardcom and patents
Replies: 4
Views: 16987

Re: Forwardcom and patents

I wonder if it might be a good idea for you to defensively patent critical features or innovations in ForwardCom, while still keeping it public domain: https://arstechnica.com/tech-policy/2018/06/inventor-says-google-is-patenting-work-he-put-in-the-public-domain/ This is Google behaving as it alway...
by JoeDuarte
2018-07-02, 21:49:35
Forum: forwardcom forum
Topic: Forwardcom and caching models
Replies: 15
Views: 40238

Re: Forwardcom and caching models

Hubert, what happens if the second workload is performed on a separate core? For EPIC, I'd assume lots of cores. Compilers can't generally figure out how to move calculations to a second thread - they can't track all the potential side effects. This applies not only to C++, but also pretty much all...
by JoeDuarte
2018-07-02, 21:42:59
Forum: forwardcom forum
Topic: Forwardcom and patents
Replies: 4
Views: 16987

Re: Forwardcom and patents

I agree that the patent system is rotten, especially for software. It is not necessary to patent something to prevent others from patenting it. It is sufficient to publish it somewhere. This is true in principle, but I think powerful corporations can sometimes abuse individual inventors. And it's no...
by JoeDuarte
2018-06-27, 21:26:53
Forum: forwardcom forum
Topic: Forwardcom and patents
Replies: 4
Views: 16987

Forwardcom and patents

Hi Agner -- After reading this article, I wonder if it might be a good idea for you to defensively patent critical features or innovations in ForwardCom, while still keeping it public domain: https://arstechnica.com/tech-policy/2018/06/inventor-says-google-is-patenting-work-he-put-in-the-public-doma...
by JoeDuarte
2018-06-13, 1:54:58
Forum: forwardcom forum
Topic: Forwardcom simulations
Replies: 3
Views: 15291

Forwardcom simulations

Hi Agner -- Have you run any simulations of ForwardCom? Is it possible to determine things like the benefits of not having a TLB with simulations? It's hard to get a sense of whether ForwardCom would be faster or more efficient than x86-64 or ARM64/v8. Given its exclusion of microcode, does the comp...
by JoeDuarte
2018-06-13, 1:37:00
Forum: forwardcom forum
Topic: Forwardcom and caching models
Replies: 15
Views: 40238

Re: Forwardcom and caching models

Hubert, what happens if the second workload is performed on a separate core? For EPIC, I'd assume lots of cores. Separately, does the Mill CPU solve some of these problems? I'm hazy on the details -- didn't the imdepotent processor also address these? I know it's not actually available as a product ...
by JoeDuarte
2018-06-07, 7:11:35
Forum: forwardcom forum
Topic: Forwardcom and caching models
Replies: 15
Views: 40238

Re: Forwardcom and caching models

The common wisdom is that common and simple tasks should be implemented in hardware to make it faster and more energy-efficient. Traditional caches are the consequence of applying this principle to memory management. Scratch-pad memory is software-managed cache. Vendors of cheap processors use it t...