Search found 7 matches
- Sun Aug 15, 2021 11:25 pm
- Forum: Programming Discussion
- Topic: How do I subtract with alpha blending?
- Replies: 5
- Views: 1784
Re: How do I subtract with alpha blending?
Edit: I need to study more
- Fri Jul 30, 2021 7:36 am
- Forum: Programming Discussion
- Topic: SH4 Contention between IF and MA
- Replies: 5
- Views: 890
Re: SH4 Contention between IF and MA
Thank you again @TapamN for you quick and complete answer ^^
- Fri Jul 30, 2021 7:34 am
- Forum: Programming Discussion
- Topic: SH4 Superscalar
- Replies: 2
- Views: 670
- Thu Jul 29, 2021 2:04 pm
- Forum: Programming Discussion
- Topic: SH4 Contention between IF and MA
- Replies: 5
- Views: 890
Re: SH4 Contention between IF and MA
Totally makes sense. Thank you so much for the answer and the reminder about the Harvard / Von Neumann architecture ˆˆ
- Thu Jul 29, 2021 11:57 am
- Forum: Programming Discussion
- Topic: SH4 Contention between IF and MA
- Replies: 5
- Views: 890
Re: SH4 Contention between IF and MA
Add: If we use the C code given by @nymus in the "SH4 assembly function call in C" : int test(int values[5]) { int total = 0; for(int i = 0; i < 5; ++i) { total += values[i]; } return total; } The -O3 compiled code is: _test: mov.l @(4,r4),r1 I D X M S mov.l @r4,r0 i D X M S add r1,r0 I D ...
- Thu Jul 29, 2021 9:14 am
- Forum: Programming Discussion
- Topic: SH4 Contention between IF and MA
- Replies: 5
- Views: 890
SH4 Contention between IF and MA
Hello to all. I have a question, coming from SH2. The SH2 Programming Manual states (§7.4.3, p174) : When an instruction is located in on-chip memory (ROM/RAM) or on-chip cache, there are instruction fetch stages (‘if’ written in lower case) that do not generate bus cycles as explained in section 7....
- Thu Jul 29, 2021 8:47 am
- Forum: Programming Discussion
- Topic: SH4 Superscalar
- Replies: 2
- Views: 670
SH4 Superscalar
Hello to you all, this is my first post here ^^ I've done my share of coding on Genesis and 32X, and am now getting into Dreamcast (I love Hitachi SuperH!). As you know, one of the main differences between SH2 and SH4 is the latter being superscalar. This means that, for certain instructions, two ca...