ObjFW  Check-in [34fe2d87f2]

Overview
Comment:MIPS64 lookup: That addiu should have been daddiu
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 34fe2d87f28e4d9485677b2c1fc288c810571ababaf125ebd961b54831d2382b
User & Date: js on 2016-05-22 10:03:12
Other Links: manifest | tags
Context
2016-05-22
11:53
lookup-asm-mips64-elf.S: Small optimization check-in: 1a3d3baa33 user: js tags: trunk
10:03
MIPS64 lookup: That addiu should have been daddiu check-in: 34fe2d87f2 user: js tags: trunk
2016-05-21
22:19
OFDate: Use _mktime64() on Windows check-in: 7d381048fb user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-mips64-elf.S from [60c3ff7459] to [cda30cbc44].

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
	move	$t0, $a0
	ld	$a0, 0($a0)
	beqz	$a0, 0f

	ld	$t0, 8($t0)
	ld	$t0, 64($t0)

	addiu	$t9, $t9, \lookup-\name
	b	.Lmain_\lookup

0:
	lui	$v0, %hi(%neg(%gp_rel(\name)))
	daddu	$v0, $v0, $t9
	daddiu	$v0, $v0, %lo(%neg(%gp_rel(\name)))
	ld	$v0, %got_disp(nil_method)($v0)







|







96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
	move	$t0, $a0
	ld	$a0, 0($a0)
	beqz	$a0, 0f

	ld	$t0, 8($t0)
	ld	$t0, 64($t0)

	daddiu	$t9, $t9, \lookup-\name
	b	.Lmain_\lookup

0:
	lui	$v0, %hi(%neg(%gp_rel(\name)))
	daddu	$v0, $v0, $t9
	daddiu	$v0, $v0, %lo(%neg(%gp_rel(\name)))
	ld	$v0, %got_disp(nil_method)($v0)