From e4343f0fa3705f6433edf3ab629d534efe1e2699 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 27 Feb 2021 12:17:06 -0800 Subject: [PATCH] Update comment for ARM64. --- upb/decode_fast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upb/decode_fast.c b/upb/decode_fast.c index f628e6dbd4..bca2754621 100644 --- a/upb/decode_fast.c +++ b/upb/decode_fast.c @@ -1,8 +1,8 @@ -// Fast decoder: ~3x the speed of decode.c, but x86-64 specific. +// Fast decoder: ~3x the speed of decode.c, but requires x86-64/ARM64. // Also the table size grows by 2x. // -// Could potentially be ported to ARM64 or other 64-bit archs that pass at -// least six arguments in registers. +// Could potentially be ported to other 64-bit archs that pass at least six +// arguments in registers and have 8 unused high bits in pointers. // // The overall design is to create specialized functions for every possible // field type (eg. oneof boolean field with a 1 byte tag) and then dispatch