ObjFW  Check-in [a2d93fd632]

Overview
Comment:lookup-asm-mips.S: Use __MIPSE[LB]__.

These seem to be more reliable than _MIPSE[LB].

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a2d93fd632d031cb77cda1bcbd7466bfeb309f4c7968d69d0703fe5327408b25
User & Date: js on 2013-12-15 17:22:19
Other Links: manifest | tags
Context
2013-12-15
17:56
OFFile: Require a full path for (sym)links. check-in: feaf3faad5 user: js tags: trunk
17:22
lookup-asm-mips.S: Use __MIPSE[LB]__. check-in: a2d93fd632 user: js tags: trunk
16:57
configure: Add --disable-tls option. check-in: 1fb15f3fd9 user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-mips-elf.S from [87a1a9916a] to [48cdec849d].

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\name:
	beqz	$a0, .ret_nil_\name

	lw	$t0, 0($a0)
	lw	$t0, 32($t0)

.main_\name:
#if defined(_MIPSEL)
# ifdef OF_SELUID24
	lbu	$t1, 2($a1)
# endif
	lbu	$t2, 1($a1)
	lbu	$t3, 0($a1)
#elif defined(_MIPSEB)
# ifdef OF_SELUID24
	lbu	$t1, 1($a1)
# endif
	lbu	$t2, 2($a1)
	lbu	$t3, 3($a1)
#else
# error Neither _MIPSEL nor _MIPSEB defined!
#endif

#ifdef OF_SELUID24
	sll	$t1, $t1, 2
#endif
	sll	$t2, $t2, 2
	sll	$t3, $t3, 2







|





|






|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\name:
	beqz	$a0, .ret_nil_\name

	lw	$t0, 0($a0)
	lw	$t0, 32($t0)

.main_\name:
#if defined(__MIPSEL__)
# ifdef OF_SELUID24
	lbu	$t1, 2($a1)
# endif
	lbu	$t2, 1($a1)
	lbu	$t3, 0($a1)
#elif defined(__MIPSEB__)
# ifdef OF_SELUID24
	lbu	$t1, 1($a1)
# endif
	lbu	$t2, 2($a1)
	lbu	$t3, 3($a1)
#else
# error Neither __MIPSEL__ nor __MIPSEB__ defined!
#endif

#ifdef OF_SELUID24
	sll	$t1, $t1, 2
#endif
	sll	$t2, $t2, 2
	sll	$t3, $t3, 2