Skip to content

Fix BF16 routines - #47

Merged
aswaterman merged 1 commit into
ucb-bar:masterfrom
arromanoff:arromanoff/fix-bf-patch
Oct 23, 2026
Merged

aswaterman merged 1 commit into
ucb-bar:masterfrom
arromanoff:arromanoff/fix-bf-patch

Conversation

@arromanoff

@arromanoff arromanoff commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixing issues found by @sizn-sc in #45 (comment) and #45 (comment) and also mismatch in types of uZ in f64_to_bf16.c. We should use ui16_bf16 instead of ui16_f16 there (inside spike bfloat16_t is typedef to float16_t so it worked. But inside softfloat repo that is not the case)

@arromanoff

Copy link
Copy Markdown
Contributor Author

@aswaterman take a look please

@aswaterman aswaterman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, thank you.

@aswaterman
aswaterman merged commit 5d28716 into ucb-bar:master Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants