Why no callee-saved vector registers?

By: Anon (no.delete@this.spam.com), September 21, 2022 11:01 pm
Room: Moderated Discussions
dmcq (dmcq.delete@this.fano.co.uk) on September 21, 2022 4:53 am wrote:
> Just reading the ARM aapcs document about their ABI, they seem to have come to the same conclusion
> - preserve none except if the interface uses SVE when all except the first eight need to
> be preserved - basically any vector function. I can see a few problems with nested calls
> with that - for instance any call to a non vector function within one will require all those
> SVE registers be saved. Tradeoffs always leave one with a FoMO feeling :-)

Would be feasible an ABI where the function tells which registers it expect the caller to save? In order to keep binary compatibility new versions of older functions may have to callee save a few registers, but in general this would be more efficient than current situation.
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Why no callee-saved vector registers?Michael S2022/09/20 01:44 PM
  Why no callee-saved vector registers?TimMc2022/09/20 08:56 PM
    Why no callee-saved vector registers?dmcq2022/09/21 04:53 AM
      Why no callee-saved vector registers?Michael S2022/09/21 07:11 AM
        Why no callee-saved vector registers?dmcq2022/09/21 07:14 AM
          Why no callee-saved vector registers?Michael S2022/09/21 07:29 AM
            Why no callee-saved vector registers?Marcus2022/09/21 08:05 AM
              Why no callee-saved vector registers?Linus Torvalds2022/09/21 09:07 AM
      Why no callee-saved vector registers?Anon2022/09/21 11:01 PM
        Why no callee-saved vector registers?dmcq2022/09/22 03:10 AM
        Why no callee-saved vector registers?rwessel2022/09/22 05:25 AM
          Why no callee-saved vector registers?Anon2022/09/22 05:48 AM
            Why no callee-saved vector registers?rwessel2022/09/22 06:13 AM
              Why no callee-saved vector registers?Anon2022/09/22 06:25 AM
                Why no callee-saved vector registers?rwessel2022/09/22 08:50 AM
    Why no callee-saved vector registers?TimMc2022/09/21 03:46 PM
      Why no callee-saved vector registers?Michael S2022/09/22 05:04 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell tangerine? ūüćä