[compiler-rt] [compiler-rt] Add big endian support to __aeabi_(idivmod|uidivmod|uldivmod) (PR #126277)
    Simon Tatham via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 10 04:55:15 PST 2025
    
    
  
statham-arm wrote:
> It doesn't explicitly say "in {r0, r1} _respectively_",
True – perhaps that could be clarified. But it does say that those functions return (via the `__value_in_regs` variant PCS) a value of type `struct { int quot; int rem; }`. That's the part that definitely means the quotient is in the lower-numbered register, because it appears at the start of the struct.
https://github.com/llvm/llvm-project/pull/126277
    
    
More information about the llvm-commits
mailing list