Re: My 66000 and High word facility

Liste des GroupesRevenir à c arch 
Sujet : Re: My 66000 and High word facility
De : cr88192 (at) *nospam* gmail.com (BGB)
Groupes : comp.arch
Date : 15. Aug 2024, 01:45:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9jj3c$lfff$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 8/14/2024 5:43 PM, MitchAlsup1 wrote:
On Wed, 14 Aug 2024 10:15:58 +0000, BGB wrote:
 
On 8/13/2024 12:24 PM, MitchAlsup1 wrote:
>
Assuming I use all of the ISA features that currently exist:
>
r8_erf:                                 ; @r8_erf
      MOV     R4, R1
      FABS    R1,R2
      FCMPGT  0x3780, R2  //Half
      BF      .LBB141_5
>
      FCMPGT  0x4400, R2  //Half
      BF      .LBB141_6
>
      FCMPGE  0x403A8B020C49BA5E, R2
      BT      .LBB141_7
>
      FMUL    R1, R1, R3
      FLDCH   0x3C00, R2
      FDIV    R2, R3, R3
      MOV     0x3F90B4FB18B485C7, R4
      MOV     0x3FD38A78B9F065F6, R16
      FMAC    R3, R16, R4, R4
      FADD    R3, 0x40048C54508800DB, R5
>
      MOV     0x3FD70FE40E2425B8, R16
      FMAC    R3, R16, R4, R4
>
      MOV     0x3FFDF79D6855F0AD, R16
      FMAC    R3, R16, R5, R5
>
      MOV     0x3FC0199D980A842F, R16
      FMAC    R3, R16, R4, R4
      MOV     0x3FE0E4993E122C39, R16
      FMAC    R3, R16, R5, R5
      MOV     0x3F9078448CD6C5B5, R16
      FMAC    R3, R16, R4, R4
      MOV     0x3FAEFC42917D7DE7, R16
      FMAC    R3, R16, R5, R5
      MOV     0x3F4595FD0D71E33C, R16
      FMAC    R3, R16, R4, R4
>
      FMUL    R4,R3,R4
      MOV     0x3F632147A014BAD1, R16
      FMAC    R5, R3, R16, R3
      FDIV    R4, R3, R3
      FNEG    R3, R3
      FADD    R3, 0x3FE20DD750429B6D, R3
      FDIV    R3, R2, R3
      BRA     .LBB141_4
LBB141_5:
      FMUL    R1, R1, R3
      MOV     0, R4
      FCMPGT  0x3C9FFE5AB7E8AD5E, R2
      CSELT   R3, R4, R2
      MOV     0x3FC7C7905A31C322, R3
>
      MOV     0x400949FB3ED443E9, R16
      fmac    R2, R16, R3, R3
      FADD    R2,#0x403799EE342FB2DE, R4
>
      MOV     0x405C774E4D365DA3, R16
      RMAC    R2, R16, R3, R3
      MOV     0x406E80C9D57E55B8, R16
      FMAC    R2, R16, R4, R4
>
      MOV     0x407797C38897528B, R16
      FMAC    R2, R16, R3, R3
      MOV     0x40940A77529CADC8, R16
      FMAC    R2, R16, R4, R4
      MOV     0x40A912C1535D121A, R16
      FMAC    R2, R16, R3, R3
>
      FMUL    R3, R1, R1
      MOV     0x40A63879423B87AD, R16
      FMAC    R2, R16, R4, R2
      FDIV    R1, R2, R2
      RTS
>
LBB141_6:
      MOV     0x3E571E703C5F5815, R3
      fmac    r3,r2,r3,#0x3FE20DD508EB103E
      fadd    r4,r2,#0x402F7D66F486DED5
      fmac    r3,r2,r3,#0x4021C42C35B8BC02
      fmac    r4,r2,r4,#0x405D6C69B0FFCDE7
      fmac    r3,r2,r3,#0x405087A0D1C420D0
      fmac    r4,r2,r4,#0x4080C972E588749E
      fmac    r3,r2,r3,#0x4072AA2986ABA462
      fmac    r4,r2,r4,#0x4099558EECA29D27
      fmac    r3,r2,r3,#0x408B8F9E262B9FA3
      fmac    r4,r2,r4,#0x40A9B599356D1202
      fmac    r3,r2,r3,#0x409AC030C15DC8D7
      fmac    r4,r2,r4,#0x40B10A9E7CB10E86
      fmac    r3,r2,r3,#0x40A0062821236F6B
      fmac    r4,r2,r4,#0x40AADEBC3FC90DBD
      fmac    r3,r2,r3,#0x4093395B7FD2FC8E
      fmac    r4,r2,r4,#0x4093395B7FD35F61
      fdiv    r3,r3,r4
LBB141_4:
      FMUL    R2, 0x40300000, R4
      FMUL    R4, 0x3FB00000, R4
      FSTCI   R4, R4
      FLDCI   R4, R4
      FNEG    R4, R6
      fadd    R2, R6, R5
      fadd    R2, R4, R2
      fmul    R4, R6, R4
      fexp    r4,r4  //?
>
      fmul    R2,R7, R2
      fexp    r2,r2
      fmul    R4, R2, R2
      FNEG    R2, R2
      fmac    r2,r2,r3,#0x3F000000
      fadd    r2,r2,#0x3F000000
      pdlt    r1,T  //?
      fadd    r2,#0,-r2
      RTS
LBB141_7:
      FLDCH    0xBC00, R2
      FLDCH    0x3C00, R3
      FCMPGT    0, R1
      CSELT    R2,R3,R2
      RTS
>
Not bad: I count 101 instructions and 183 words of memory.
{{I checked nothing}}
I ran out of time (needed to go to sleep) and didn't finish translation, so the lower-case instructions were still mostly untranslated...
But, either way, apart from the FMAC situation there wasn't too much increase in the parts I did get translated. In theory, I could define an encoding for an Imm32f or Imm64 FMAC (although likely limited to 3R, unless I do something weird and define an "FE FF Op" 4RI Imm32 encoding scheme or similar).
Otherwise, I have needed to order a new SSD as the SSD holding my main OS drive seems to be failing (it is occasionally getting "stuck" at 100% activity for extended periods of time, starting just recently, but not a good sign).
I have had to reboot my PC several times as it "got stuck" and didn't come unstuck.
Granted, I think I have been using the same SSD now for around a decade, and these these things do have a finite lifespan. Got a new one the same size as the old one, and intend to try to image it; could have gotten a bigger one, but this drive uses MBR partitioning and all 4 partitions are already used. Can't change to GPR as the OS installation is using "Legacy BIOS" booting.
Bigger SSD/... would effectively require a new OS install (even if it would be nice to make the OS drive bigger; Win10 isn't really wanting to fit that well on a 300 GB partition).
Basically, PC is a "ship of Theseus" in some ways...
...

Date Sujet#  Auteur
10 Aug 24 * My 66000 and High word facility94Brett
10 Aug 24 +* Re: My 66000 and High word facility92MitchAlsup1
11 Aug 24 i`* Re: My 66000 and High word facility91Brett
11 Aug 24 i +- Re: My 66000 and High word facility1Thomas Koenig
11 Aug 24 i +* Re: My 66000 and High word facility61Anton Ertl
11 Aug 24 i i+* Re: My 66000 and High word facility20Brett
12 Aug 24 i ii`* Re: My 66000 and High word facility19Anton Ertl
12 Aug 24 i ii +* Re: My 66000 and High word facility17MitchAlsup1
12 Aug 24 i ii i`* Re: My 66000 and High word facility16BGB
12 Aug 24 i ii i `* Re: My 66000 and High word facility15MitchAlsup1
12 Aug 24 i ii i  `* Re: My 66000 and High word facility14BGB
13 Aug 24 i ii i   `* Re: My 66000 and High word facility13MitchAlsup1
13 Aug 24 i ii i    `* Re: My 66000 and High word facility12BGB
13 Aug 24 i ii i     `* Re: My 66000 and High word facility11MitchAlsup1
13 Aug 24 i ii i      `* Re: My 66000 and High word facility10BGB
13 Aug 24 i ii i       `* Re: My 66000 and High word facility9MitchAlsup1
13 Aug 24 i ii i        +* Re: My 66000 and High word facility5Thomas Koenig
13 Aug 24 i ii i        i+* Re: My 66000 and High word facility3MitchAlsup1
14 Aug 24 i ii i        ii`* Re: My 66000 and High word facility2Thomas Koenig
14 Aug 24 i ii i        ii `- Re: My 66000 and High word facility1MitchAlsup1
14 Aug 24 i ii i        i`- Re: My 66000 and High word facility1BGB
14 Aug 24 i ii i        `* Re: My 66000 and High word facility3BGB
15 Aug 24 i ii i         `* Re: My 66000 and High word facility2MitchAlsup1
15 Aug 24 i ii i          `- Re: My 66000 and High word facility1BGB
15 Aug 24 i ii `- Re: My 66000 and High word facility1MitchAlsup1
11 Aug 24 i i+- Re: My 66000 and High word facility1Niklas Holsti
11 Aug 24 i i+* Re: My 66000 and High word facility31BGB
12 Aug 24 i ii`* Re: My 66000 and High word facility30Brett
12 Aug 24 i ii +* Re: My 66000 and High word facility2Terje Mathisen
16 Oct 24 i ii i`- Re: My 66000 and High word facility1Paul A. Clayton
15 Aug 24 i ii +* Re: My 66000 and High word facility25MitchAlsup1
15 Aug 24 i ii i`* Re: My 66000 and High word facility24Brett
15 Aug 24 i ii i `* Re: My 66000 and High word facility23Brett
15 Aug 24 i ii i  `* Re: My 66000 and High word facility22Stephen Fuld
16 Aug 24 i ii i   `* Re: My 66000 and High word facility21Brett
16 Aug 24 i ii i    +- Re: My 66000 and High word facility1Brett
16 Aug 24 i ii i    `* Re: My 66000 and High word facility19MitchAlsup1
17 Aug 24 i ii i     `* Re: My 66000 and High word facility18Brett
17 Aug 24 i ii i      +* Re: My 66000 and High word facility8Thomas Koenig
17 Aug 24 i ii i      i`* Re: My 66000 and High word facility7Brett
18 Aug 24 i ii i      i +* Re: My 66000 and High word facility5Thomas Koenig
18 Aug 24 i ii i      i i`* Re: My 66000 and High word facility4MitchAlsup1
18 Aug 24 i ii i      i i +- Re: My 66000 and High word facility1Brett
18 Aug 24 i ii i      i i `* Re: My 66000 and High word facility2Thomas Koenig
19 Aug 24 i ii i      i i  `- Re: My 66000 and High word facility1BGB
19 Aug 24 i ii i      i `- Re: My 66000 and High word facility1BGB
17 Aug 24 i ii i      `* Re: My 66000 and High word facility9MitchAlsup1
17 Aug 24 i ii i       `* Re: My 66000 and High word facility8Brett
18 Aug 24 i ii i        +* Re: My 66000 and High word facility2MitchAlsup1
18 Aug 24 i ii i        i`- Re: My 66000 and High word facility1Brett
19 Aug 24 i ii i        `* Re: My 66000 and High word facility5Stefan Monnier
19 Aug 24 i ii i         +- Re: My 66000 and High word facility1BGB
19 Aug 24 i ii i         `* Re: My 66000 and High word facility3MitchAlsup1
19 Aug 24 i ii i          +- Re: My 66000 and High word facility1Thomas Koenig
20 Aug 24 i ii i          `- Re: My 66000 and High word facility1Michael S
20 Aug 24 i ii `* Re: My 66000 and High word facility2Stefan Monnier
21 Aug 24 i ii  `- Re: My 66000 and High word facility1BGB
15 Aug 24 i i`* Re: My 66000 and High word facility8MitchAlsup1
15 Aug 24 i i +* Re: My 66000 and High word facility3Anton Ertl
15 Aug 24 i i i`* Re: My 66000 and High word facility2Michael S
15 Aug 24 i i i `- Re: My 66000 and High word facility1MitchAlsup1
15 Aug 24 i i `* Re: My 66000 and High word facility4Michael S
15 Aug 24 i i  `* Re: My 66000 and High word facility3Stephen Fuld
15 Aug 24 i i   `* Re: My 66000 and High word facility2Michael S
15 Aug 24 i i    `- Re: My 66000 and High word facility1MitchAlsup1
19 Aug 24 i `* Re: My 66000 and High word facility28MitchAlsup1
19 Aug 24 i  `* Re: My 66000 and High word facility27Brett
19 Aug 24 i   `* Re: My 66000 and High word facility26MitchAlsup1
20 Aug 24 i    +* Re: My 66000 and High word facility3Brett
20 Aug 24 i    i`* Re: My 66000 and High word facility2MitchAlsup1
20 Aug 24 i    i `- Re: My 66000 and High word facility1Brett
20 Aug 24 i    `* number of registers (was: My 66000 and High word facility)22Anton Ertl
20 Aug 24 i     `* Re: number of registers21MitchAlsup1
20 Aug 24 i      +* Re: number of registers13Michael S
20 Aug 24 i      i`* Re: number of registers12MitchAlsup1
21 Aug 24 i      i +* Re: number of registers6Brett
21 Aug 24 i      i i+* Re: number of registers4MitchAlsup1
21 Aug 24 i      i ii+* Re: number of registers2Brett
23 Aug 24 i      i iii`- Re: number of registers1Brett
22 Aug 24 i      i ii`- Re: number of registers1Stephen Fuld
21 Aug 24 i      i i`- Re: number of registers1Anton Ertl
21 Aug 24 i      i `* Re: number of registers5Anton Ertl
21 Aug 24 i      i  +* Re: number of registers3Stephen Fuld
21 Aug 24 i      i  i`* Re: number of registers2Anton Ertl
21 Aug 24 i      i  i `- Re: number of registers1Stephen Fuld
21 Aug 24 i      i  `- Re: number of registers1Anton Ertl
20 Aug 24 i      `* Re: number of registers7MitchAlsup1
21 Aug 24 i       `* Re: number of registers6Anton Ertl
21 Aug 24 i        +* Re: number of registers3Michael S
21 Aug 24 i        i`* Re: number of registers2Anton Ertl
21 Aug 24 i        i `- Re: number of registers1Michael S
21 Aug 24 i        `* Re: number of registers2MitchAlsup1
21 Aug 24 i         `- Re: number of registers1Michael S
10 Aug 24 `- Re: My 66000 and High word facility1MitchAlsup1

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal