[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unaligned access continued



José,

I thought I'd try out the examples that you provide in
xtl-1.3/examples/tests.

Did you realise that only the raw tests succeed on an Alpha
machine? (Running LinuxAlpha.)

Printing out the stats by uncommenting the code in
main.cpp, we get for example:

aleem@acinus:~/xtl-1.3/examples/tests$ oxdr
Testing oxdr: Failed
{{1 ˙  ŭ 4d -5 6d -9 10ld fffffffffffffff5 1cbe991a14 13.140000 15.160000} {<"XTL Test String 1"> <"XTL Test String 2"> <"XTL Teste String 3">} {[0 2 4 6 8 10 12 14 16 18] <0 3 6 9 12 15 18 21 24 27>} {1 0} {10} {{<0 1 2 3 4 5 6 7 8 9>} {<{0 0} {1 2} {2 4} {3 6} {4 8} {5 10} {6 12} {7 14} {8 16} {9 18}>}} {1 1.100000} {0 {2} 1 {2 3.000000}} {["(*,.02468:"] <"258;>ADGJM">}}
 {{1 ˙  ŭ 4d -5 6d 4294967287 10ld c4f8ff1f 28f9ff1f 13.140000 0.000000} {<"XTL Test String 1"> <"XTL Test String 2"> <"XTL Teste String 3">} {[0 2 4 6 8 10 12 14 16 18] <0 3 6 9 12 15 18 21 24 27>} {1 0} {10} {{<0 1 2 3 4 5 6 7 8 9>} {<{0 0} {1 2} {2 4} {3 6} {4 8} {5 10} {6 12} {7 14} {8 16} {9 18}>}} {1 1.100000} {0 {2} 1 {2 3.000000}} {["(*,.02468:"] <"258;>ADGJM">}}
aleem@acinus:~/xtl-1.3/examples/tests$

Moreover, running this test preoduces the following in /var/log/kern.log:

Apr  4 13:21:10 acinus kernel: oxdr(30523): unaligned trap at 000002000000e954: 000002000027632c 29 1
Apr  4 13:21:10 acinus kernel: oxdr(30523): unaligned trap at 000002000000e95c: 000002000027632c 2d 1
Apr  4 13:21:10 acinus kernel: oxdr(30523): unaligned trap at 000002000000e954: 0000020000278eac 29 1
Apr  4 13:21:10 acinus kernel: oxdr(30523): unaligned trap at 000002000000e95c: 0000020000278eac 2d 1
                                      
Testing continues...
Angus