Sujet : Re: Misc: BGBCC targeting RV64G, initial results...
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.archDate : 28. Sep 2024, 00:21:01
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <32530d5762161fe427306ede7d2c26c0@www.novabbs.org>
References : 1 2 3
User-Agent : Rocksolid Light
On Fri, 27 Sep 2024 21:28:41 +0000, BGB wrote:
On 9/27/2024 10:52 AM, MitchAlsup1 wrote:
My 66000 can do:: 1 < i && i <= MAX in 1 instruction
>
>
BJX2:
CMPQGT R4, 1, R16
CMPQLT R4, (MAX+1), R17 //*1
AND R16, R17, R5
>
So, more than 1 instruction, but less than faking it with SLT / SLTI ...
>
CMP Rt,Ri,MAX
BFIN Rt,label // fin = Fortran IN
-----
>
It is better for performance though to be able to flip the output bit in
the pipeline than to need to use an XOR instruction or similar.
I do integer negation by flipping all the bits and running a carry
into the subsequent ALU.
Thus, if the target calculation unit is logical, one gets inversion
integer gets negation, and FPUs only invert the sign bit.
Date | Sujet | # | | Auteur |
27 Sep 24 | Misc: BGBCC targeting RV64G, initial results... | 37 | | BGB |
27 Sep 24 |  Re: Misc: BGBCC targeting RV64G, initial results... | 20 | | Robert Finch |
27 Sep 24 |   Re: Misc: BGBCC targeting RV64G, initial results... | 19 | | BGB |
27 Sep 24 |    Re: Misc: BGBCC targeting RV64G, initial results... | 18 | | MitchAlsup1 |
28 Sep 24 |     Re: Misc: BGBCC targeting RV64G, initial results... | 17 | | BGB |
28 Sep 24 |      Re: Misc: BGBCC targeting RV64G, initial results... | 16 | | MitchAlsup1 |
28 Sep 24 |       Re: Misc: BGBCC targeting RV64G, initial results... | 15 | | BGB |
29 Sep 24 |        Re: Misc: BGBCC targeting RV64G, initial results... | 14 | | MitchAlsup1 |
30 Sep 24 |         Re: Misc: BGBCC targeting RV64G, initial results... | 13 | | BGB |
30 Sep 24 |          Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | MitchAlsup1 |
1 Oct 24 |          Re: Misc: BGBCC targeting RV64G, initial results... | 11 | | Robert Finch |
1 Oct 24 |           Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | MitchAlsup1 |
3 Oct 24 |           Re: Misc: BGBCC targeting RV64G, initial results... | 9 | | BGB |
4 Oct 24 |            Re: Misc: BGBCC targeting RV64G, initial results... | 2 | | Robert Finch |
4 Oct 24 |             Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | BGB |
6 Oct 24 |            Re: Misc: BGBCC targeting RV64G, initial results... | 6 | | MitchAlsup1 |
8 Oct 24 |             Re: Misc: BGBCC targeting RV64G, initial results... | 5 | | BGB |
8 Oct 24 |              Re: Misc: BGBCC targeting RV64G, initial results... | 4 | | MitchAlsup1 |
9 Oct 24 |               Re: Misc: BGBCC targeting RV64G, initial results... | 3 | | BGB |
9 Oct 24 |                Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | Stefan Monnier |
9 Oct 24 |                Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | MitchAlsup1 |
27 Sep 24 |  Re: Misc: BGBCC targeting RV64G, initial results... | 16 | | MitchAlsup1 |
27 Sep 24 |   Re: Misc: BGBCC targeting RV64G, initial results... | 2 | | BGB |
28 Sep 24 |    Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | MitchAlsup1 |
28 Sep 24 |   Re: Misc: BGBCC targeting RV64G, initial results... | 13 | | Paul A. Clayton |
30 Sep 24 |    Re: Misc: BGBCC targeting RV64G, initial results... | 12 | | MitchAlsup1 |
16 Oct 24 |     Re: Misc: BGBCC targeting RV64G, initial results... | 11 | | Paul A. Clayton |
16 Oct 24 |      Re: Misc: BGBCC targeting RV64G, initial results... | 9 | | Stephen Fuld |
16 Oct 24 |       Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | Thomas Koenig |
16 Oct 24 |       Re: Misc: BGBCC targeting RV64G, initial results... | 7 | | BGB |
16 Oct 24 |        Re: Misc: BGBCC targeting RV64G, initial results... | 6 | | MitchAlsup1 |
17 Oct 24 |         Re: Misc: BGBCC targeting RV64G, initial results... | 5 | | BGB |
18 Oct 24 |          Re: Misc: BGBCC targeting RV64G, initial results... | 4 | | MitchAlsup1 |
21 Oct 24 |           Re: Misc: BGBCC targeting RV64G, initial results... | 3 | | BGB |
21 Oct 24 |            Re: Misc: BGBCC targeting RV64G, initial results... | 2 | | MitchAlsup1 |
22 Oct 24 |             Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | BGB |
16 Oct 24 |      Re: Misc: BGBCC targeting RV64G, initial results... | 1 | | MitchAlsup1 |