Closed Bug 701698 Opened 13 years ago Closed 13 years ago

Selftests for VectorAccessor and DataListAccessor

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lhansen, Unassigned)

References

Details

DataListAccessor was added in bug #619763; VectorAccessor is older. They are C++-only APIs. Neither have any test cases at all. For Vector.<float4> I had to make them slightly more complicated (shouldn't affect any FP APIs yet) and selftests to make sure they're working OK will be good. Selftests need to explicitly check the float4 case (alignment=16) because that's the hard part.
May be tricky to do this in the selftest harness, because it runs before the VM is really up. (We've run into this problem before.) I may do a DEBUG-only hack in AvmCore just to test it.
Turned out to be not so hard after all.
Landed in tr-float.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
changeset: 6920:6472e92ce7bd user: Lars T Hansen <lhansen@adobe.com> date: Mon Nov 14 12:33:37 2011 +0100 summary: Implement Vector.<float4> and support classes
You need to log in before you can comment on or make changes to this bug.