[LLVMdev] [llvm-commits] [cfe-commits] [PATCH] [llvm+clang] memset for non-8-bit bytes

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Oct 19 09:27:55 PDT 2012


On Oct 19, 2012, at 2:24 AM, Patrik Hägglund H <patrik.h.hagglund at ericsson.com> wrote:

>> non-8-bit byte 

I'm a bit confused by this concept. I'm aware of the archaic meaning of the word byte, but it has meant 8 bits for the last 30 years. There's even an ISO/IEC standard.

I know of architectures like Texas' C55x DSPs that address 16 bits at a time, but even their data sheets state:

• 256K Bytes Zero-Wait State On-Chip RAM, Composed of:
  • –  64K Bytes of Dual-Access RAM (DARAM), 8 Blocks of 4K x 16-Bit
  • –  192K Bytes of Single-Access RAM (SARAM), 24 Blocks of 4K x 16-Bit

Perhaps you could begin by defining more accurately what you're talking about?

/jakob



More information about the llvm-dev mailing list