[Openmcl-devel] CCL rebuild fails for current (and old) master on OSX 10.14
Bruce O'Neel
bruce.oneel at pckswarms.ch
Tue Dec 17 08:22:26 PST 2019
So I forgot to finish typing. Fixing the bug in the code below should fix both problems, I think...
/* assemble with as -Q -g -arch x86_64 bus.s */
/* fails with assembler included with Xcode 11 -- Xcode 11.1.2 at least */
/* works on Xcode 10.3 or earler */
node_size = 8
dnode_size = 16
num_subtag_bits = 8
subtag_shift = num_subtag_bits
ntagbits = 4
fulltag_misc = 13
misc_bias = fulltag_misc
fulltag_nodeheader_0 = 5
misc_header_offset = -fulltag_misc
misc_header_offset_neg = fulltag_misc
misc_data_offset = misc_header_offset+node_size /* first word of data */
misc_subtag_offset = misc_header_offset /* low byte of header */
.text
.align 2
.p2align 3
.globl junk
junk:
/* movq %rax,misc_data_offset(%rsi) */
/* should all be the same */
movq %rax,-5(%rsi)
movq %rax,-13+8(%rsi)
movq %rax,-13+node_size(%rsi)
movq %rax,-fulltag_misc+node_size(%rsi)
movq %rax,misc_header_offset_neg+node_size(%rsi)
movq %rax,-misc_header_offset_neg+node_size(%rsi)
movq %rax,node_size+misc_header_offset(%rsi)
/* fails */
movq %rax,misc_header_offset+node_size(%rsi)
ret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20191217/fc2df56c/attachment.htm>
More information about the Openmcl-devel
mailing list