Page MenuHomePhabricator

[X86] Bugfix for rL349334
Needs ReviewPublic

Authored by yubing on Thu, Nov 7, 10:13 PM.

Details

Summary

Since the width of a bit field cannot exceed the width of the underlying type, we should change fraction's type to long long for ia32.

Diff Detail

Event Timeline

yubing created this revision.Thu, Nov 7, 10:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Nov 7, 10:13 PM
RKSimon added inline comments.Fri, Nov 8, 2:08 AM
SingleSource/UnitTests/Vector/AVX512F/getmant.c
119–121

Have you confirmed this works? Would it be better to change all 3 members to use unsigned long long?

yubing updated this revision to Diff 228789.Mon, Nov 11, 5:35 PM
yubing marked an inline comment as done.