▲ 141 ▼ Linus Torvalds Rejects RISC-V Changes For Linux 6.17: "Garbage" (www.phoronix.com) submitted 1 year ago by Sunshine@piefed.ca to c/linux@programming.dev 34 comments fedilink hide all child comments
[–] zygo_histo_morpheus@programming.dev 2 points 1 year ago (1 child) Oh my bad I don't know where I got that from lol permalink fedilink source parent hideshow 1 child comment replies: [–] FizzyOrange@programming.dev 3 points 1 year ago 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. permalink fedilink source parent
[–] FizzyOrange@programming.dev 3 points 1 year ago 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. permalink fedilink source parent