aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-08-08 16:54:52 +0200
committerGeorg-Johann Lay <avr@gjlay.de>2024-08-08 18:39:45 +0200
commitf6a41ebb5b45be22959afba2fa2b5cf42450378a (patch)
treef64c682e90c0fa8174f92128703ecae96917be14
parentef697f83917e6380e979c196b330ad8ad84b8ce0 (diff)
downloadgcc-f6a41ebb5b45be22959afba2fa2b5cf42450378a.zip
gcc-f6a41ebb5b45be22959afba2fa2b5cf42450378a.tar.gz
gcc-f6a41ebb5b45be22959afba2fa2b5cf42450378a.tar.bz2
AVR: Fix a typo in __builtin_avr_mask1 documentation.
gcc/ * doc/extend.texi (AVR Built-in Functions) <mask1>: Fix a typo.
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 89fe5db..ae1ada3 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -17052,7 +17052,7 @@ __builtin_avr_insert_bits (0x01234567, bits, 0);
@defbuiltin{uint8_t __builtin_avr_mask1 (uint8_t @var{mask}, uint8_t @var{offs})}
Rotate the 8-bit constant value @var{mask} by an offset of @var{offs},
where @var{mask} is in @{ 0x01, 0xfe, 0x7f, 0x80 @}.
-This built-in can be use as an alternative to 8-bit expressions like
+This built-in can be used as an alternative to 8-bit expressions like
@code{1 << offs} when their computation consumes too much
time, and @var{offs} is known to be in the range 0@dots{}7.
@example