We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f9014 commit 3a7b8d3Copy full SHA for 3a7b8d3
src/ansi-c/compiler_headers/clang_builtins.py
@@ -43,7 +43,7 @@
43
'v': 'void',
44
'w': 'wchar_t',
45
'x': '_Float16',
46
- 'y': '_Float16', # would be '__bf16', but we don't support that yet
+ 'y': '__bf16',
47
'z': '__CPROVER_size_t'
48
}
49
src/ansi-c/scanner.l
@@ -530,6 +530,12 @@ void ansi_c_scanner_init()
530
return make_identifier();
531
532
533
+"__bf16" { if(PARSER.ts_18661_3_Floatn_types)
534
+ { loc(); return TOK_GCC_FLOAT16; }
535
+ else
536
+ return make_identifier();
537
+ }
538
+
539
"_Float32" { if(PARSER.ts_18661_3_Floatn_types)
540
{ loc(); return TOK_GCC_FLOAT32; }
541
else
0 commit comments