public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] docs: add cavear for __builtin_cpu_supports
@ 2023-02-09 10:35 Martin Liška
  2023-02-09 10:43 ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Liška @ 2023-02-09 10:35 UTC (permalink / raw)
  To: gcc-patches; +Cc: Gerald Pfeifer

Document that the function does not work correctly for old
VIA processors.

Ready to be installed?
Thanks,
Martin

	PR target/100758

gcc/ChangeLog:

	* doc/extend.texi: Document that the function
	does not work correctly for old VIA processors.
---
 gcc/doc/extend.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 5a026c4b48c..2aedf6dfe69 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -22071,6 +22071,9 @@ else
      count = generic_countbits (n); //generic implementation.
   @}
 @end smallexample
+
+Caveat: The built-in function does not work correctly on old VIA
+processors (Centaur family).
 @end deftypefn
 
 The following built-in functions are made available by @option{-mmmx}.
-- 
2.39.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: add cavear for __builtin_cpu_supports
  2023-02-09 10:35 [PATCH] docs: add cavear for __builtin_cpu_supports Martin Liška
@ 2023-02-09 10:43 ` Gerald Pfeifer
  2023-02-09 10:50   ` Martin Liška
  0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2023-02-09 10:43 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

On Thu, 9 Feb 2023, Martin Liška wrote:
> Document that the function does not work correctly for old VIA 
> processors.

Thanks for doing this, Martin!

> +Caveat: The built-in function does not work correctly on old VIA
> +processors (Centaur family).

Maybe say "This built-in function...", though that's a nuance. The patch 
is okay either way.

Gerald

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: add cavear for __builtin_cpu_supports
  2023-02-09 10:43 ` Gerald Pfeifer
@ 2023-02-09 10:50   ` Martin Liška
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Liška @ 2023-02-09 10:50 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: gcc-patches

On 2/9/23 11:43, Gerald Pfeifer wrote:
> On Thu, 9 Feb 2023, Martin Liška wrote:
>> Document that the function does not work correctly for old VIA 
>> processors.
> 
> Thanks for doing this, Martin!
> 
>> +Caveat: The built-in function does not work correctly on old VIA
>> +processors (Centaur family).
> 
> Maybe say "This built-in function...", though that's a nuance. The patch 
> is okay either way.

Thanks for review, I've just pushed it with the suggestion.

Martin

> 
> Gerald


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-09 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 10:35 [PATCH] docs: add cavear for __builtin_cpu_supports Martin Liška
2023-02-09 10:43 ` Gerald Pfeifer
2023-02-09 10:50   ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).