[Libre-soc-bugs] [Bug 976] support missing specifiers

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Apr 12 17:40:34 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=976

--- Comment #11 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #6)

> As for pure-binutils version, I've managed to make binutils build the
> assembly (this needed few fixes on binutils side). However, the test fails
> upon comparison:
> /tmp/out0 data/audio/mp3/mp3_1_data/out0 differ: char 1, line 1
> make[1]: Leaving directory '/home/ghostmansd/src/openpower-isa/media'
>

probably because the meaning of setvl changed recently.

  83         # Use SETVL again as we want to store 18 floats to (out)
  84         setvl 0,0,18,0,1,1

> 
> The assembly should be compared, though this will require some changes in
> the assembly. 

can you put "r30" back in as "pred"? yes i know it looks like it wasn't
used at lines 79 and 80 when it should have been.

  21 .set pred, 30

  79         li 30, 0
  80         ori 30, 30, 0xaaaa                      # Predicate mask
0b1010101010101010
  81         # equivalent to: for (i = 17; i >= 3; i -= 2) in[i] += in[i-2];
  82         sv.fadds/mrr/m=%r30 *vin2, *vin2, *vin1

that should at lines 79 and 80 be using "pred" as a macro, but hmm
did we remember to allow "m=30"?

if not: arrrgh :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list