Sunshine (she/her)@piefed.ca to LinuxEnglish · 4 个月前Linus Torvalds Rejects RISC-V Changes For Linux 6.17: "Garbage"www.phoronix.comexternal-linkmessage-square44linkfedilinkarrow-up1158arrow-down17 cross-posted to: [email protected]
arrow-up1151arrow-down1external-linkLinus Torvalds Rejects RISC-V Changes For Linux 6.17: "Garbage"www.phoronix.comSunshine (she/her)@piefed.ca to LinuxEnglish · 4 个月前message-square44linkfedilink cross-posted to: [email protected]
minus-squarezygo_histo_morpheuslinkfedilinkarrow-up2·4 个月前Oh my bad I don’t know where I got that from lol
minus-squareFizzyOrangelinkfedilinkarrow-up3·4 个月前Nw. You’re also wrong about endianness. This function would be written exactly the same irrespective of endianness: uint32_t u16_high_low_to_u32(uint16_t high, uint16_t low) { return (high << 16) | low; } That is endian agnostic.
Oh my bad I don’t know where I got that from lol
Nw. You’re also wrong about endianness. This function would be written exactly the same irrespective of endianness:
uint32_t u16_high_low_to_u32(uint16_t high, uint16_t low) { return (high << 16) | low; }That is endian agnostic.