Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: uasm: Remove needless ISA abstraction

We always either target MIPS32/MIPS64 or microMIPS, and always include
one & only one of uasm-mips.c or uasm-micromips.c. Therefore the
abstraction of the ISA in asm/uasm.h declaring functions for either ISA
is redundant & needless. Remove it to simplify the code.

This is largely the result of the following:

:%s/ISAOPC(\(.\{-}\))/uasm_i##\1/
:%s/ISAFUNC(\(.\{-}\))/\1/

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Paul Burton <paul.burton@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/15844/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Paul Burton and committed by
Ralf Baechle
33679a50 828d1e4e

+106 -137
+28 -59
arch/mips/include/asm/uasm.h
··· 21 21 #define UASM_EXPORT_SYMBOL(sym) 22 22 #endif 23 23 24 - #define _UASM_ISA_CLASSIC 0 25 - #define _UASM_ISA_MICROMIPS 1 26 - 27 - #ifndef UASM_ISA 28 - #ifdef CONFIG_CPU_MICROMIPS 29 - #define UASM_ISA _UASM_ISA_MICROMIPS 30 - #else 31 - #define UASM_ISA _UASM_ISA_CLASSIC 32 - #endif 33 - #endif 34 - 35 - #if (UASM_ISA == _UASM_ISA_CLASSIC) 36 - #ifdef CONFIG_CPU_MICROMIPS 37 - #define ISAOPC(op) CL_uasm_i##op 38 - #define ISAFUNC(x) CL_##x 39 - #else 40 - #define ISAOPC(op) uasm_i##op 41 - #define ISAFUNC(x) x 42 - #endif 43 - #elif (UASM_ISA == _UASM_ISA_MICROMIPS) 44 - #ifdef CONFIG_CPU_MICROMIPS 45 - #define ISAOPC(op) uasm_i##op 46 - #define ISAFUNC(x) x 47 - #else 48 - #define ISAOPC(op) MM_uasm_i##op 49 - #define ISAFUNC(x) MM_##x 50 - #endif 51 - #else 52 - #error Unsupported micro-assembler ISA!!! 53 - #endif 54 - 55 24 #define Ip_u1u2u3(op) \ 56 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 25 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 57 26 58 27 #define Ip_u2u1u3(op) \ 59 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 28 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 60 29 61 30 #define Ip_u3u2u1(op) \ 62 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 31 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 63 32 64 33 #define Ip_u3u1u2(op) \ 65 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 34 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 66 35 67 36 #define Ip_u1u2s3(op) \ 68 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, signed int c) 37 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c) 69 38 70 39 #define Ip_u2s3u1(op) \ 71 - void ISAOPC(op)(u32 **buf, unsigned int a, signed int b, unsigned int c) 40 + void uasm_i##op(u32 **buf, unsigned int a, signed int b, unsigned int c) 72 41 73 42 #define Ip_s3s1s2(op) \ 74 - void ISAOPC(op)(u32 **buf, int a, int b, int c) 43 + void uasm_i##op(u32 **buf, int a, int b, int c) 75 44 76 45 #define Ip_u2u1s3(op) \ 77 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, signed int c) 46 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c) 78 47 79 48 #define Ip_u2u1msbu3(op) \ 80 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c, \ 49 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c, \ 81 50 unsigned int d) 82 51 83 52 #define Ip_u1u2(op) \ 84 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b) 53 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b) 85 54 86 55 #define Ip_u2u1(op) \ 87 - void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b) 56 + void uasm_i##op(u32 **buf, unsigned int a, unsigned int b) 88 57 89 58 #define Ip_u1s2(op) \ 90 - void ISAOPC(op)(u32 **buf, unsigned int a, signed int b) 59 + void uasm_i##op(u32 **buf, unsigned int a, signed int b) 91 60 92 - #define Ip_u1(op) void ISAOPC(op)(u32 **buf, unsigned int a) 61 + #define Ip_u1(op) void uasm_i##op(u32 **buf, unsigned int a) 93 62 94 - #define Ip_0(op) void ISAOPC(op)(u32 **buf) 63 + #define Ip_0(op) void uasm_i##op(u32 **buf) 95 64 96 65 Ip_u2u1s3(_addiu); 97 66 Ip_u3u1u2(_addu); ··· 160 191 int lab; 161 192 }; 162 193 163 - void ISAFUNC(uasm_build_label)(struct uasm_label **lab, u32 *addr, 194 + void uasm_build_label(struct uasm_label **lab, u32 *addr, 164 195 int lid); 165 196 #ifdef CONFIG_64BIT 166 - int ISAFUNC(uasm_in_compat_space_p)(long addr); 197 + int uasm_in_compat_space_p(long addr); 167 198 #endif 168 - int ISAFUNC(uasm_rel_hi)(long val); 169 - int ISAFUNC(uasm_rel_lo)(long val); 170 - void ISAFUNC(UASM_i_LA_mostly)(u32 **buf, unsigned int rs, long addr); 171 - void ISAFUNC(UASM_i_LA)(u32 **buf, unsigned int rs, long addr); 199 + int uasm_rel_hi(long val); 200 + int uasm_rel_lo(long val); 201 + void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr); 202 + void UASM_i_LA(u32 **buf, unsigned int rs, long addr); 172 203 173 204 #define UASM_L_LA(lb) \ 174 - static inline void ISAFUNC(uasm_l##lb)(struct uasm_label **lab, u32 *addr) \ 205 + static inline void uasm_l##lb(struct uasm_label **lab, u32 *addr) \ 175 206 { \ 176 - ISAFUNC(uasm_build_label)(lab, addr, label##lb); \ 207 + uasm_build_label(lab, addr, label##lb); \ 177 208 } 178 209 179 210 /* convenience macros for instructions */ ··· 225 256 unsigned int a2, unsigned int a3) 226 257 { 227 258 if (a3 < 32) 228 - ISAOPC(_drotr)(p, a1, a2, a3); 259 + uasm_i_drotr(p, a1, a2, a3); 229 260 else 230 - ISAOPC(_drotr32)(p, a1, a2, a3 - 32); 261 + uasm_i_drotr32(p, a1, a2, a3 - 32); 231 262 } 232 263 233 264 static inline void uasm_i_dsll_safe(u32 **p, unsigned int a1, 234 265 unsigned int a2, unsigned int a3) 235 266 { 236 267 if (a3 < 32) 237 - ISAOPC(_dsll)(p, a1, a2, a3); 268 + uasm_i_dsll(p, a1, a2, a3); 238 269 else 239 - ISAOPC(_dsll32)(p, a1, a2, a3 - 32); 270 + uasm_i_dsll32(p, a1, a2, a3 - 32); 240 271 } 241 272 242 273 static inline void uasm_i_dsrl_safe(u32 **p, unsigned int a1, 243 274 unsigned int a2, unsigned int a3) 244 275 { 245 276 if (a3 < 32) 246 - ISAOPC(_dsrl)(p, a1, a2, a3); 277 + uasm_i_dsrl(p, a1, a2, a3); 247 278 else 248 - ISAOPC(_dsrl32)(p, a1, a2, a3 - 32); 279 + uasm_i_dsrl32(p, a1, a2, a3 - 32); 249 280 } 250 281 251 282 /* Handle relocations. */
+78 -78
arch/mips/mm/uasm.c
··· 350 350 351 351 #ifdef CONFIG_CPU_CAVIUM_OCTEON 352 352 #include <asm/octeon/octeon.h> 353 - void ISAFUNC(uasm_i_pref)(u32 **buf, unsigned int a, signed int b, 353 + void uasm_i_pref(u32 **buf, unsigned int a, signed int b, 354 354 unsigned int c) 355 355 { 356 356 if (CAVIUM_OCTEON_DCACHE_PREFETCH_WAR && a <= 24 && a != 5) ··· 362 362 else 363 363 build_insn(buf, insn_pref, c, a, b); 364 364 } 365 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_i_pref)); 365 + UASM_EXPORT_SYMBOL(uasm_i_pref); 366 366 #else 367 367 I_u2s3u1(_pref) 368 368 #endif 369 369 370 370 /* Handle labels. */ 371 - void ISAFUNC(uasm_build_label)(struct uasm_label **lab, u32 *addr, int lid) 371 + void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) 372 372 { 373 373 (*lab)->addr = addr; 374 374 (*lab)->lab = lid; 375 375 (*lab)++; 376 376 } 377 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_build_label)); 377 + UASM_EXPORT_SYMBOL(uasm_build_label); 378 378 379 - int ISAFUNC(uasm_in_compat_space_p)(long addr) 379 + int uasm_in_compat_space_p(long addr) 380 380 { 381 381 /* Is this address in 32bit compat space? */ 382 382 return addr == (int)addr; 383 383 } 384 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_in_compat_space_p)); 384 + UASM_EXPORT_SYMBOL(uasm_in_compat_space_p); 385 385 386 386 static int uasm_rel_highest(long val) 387 387 { ··· 401 401 #endif 402 402 } 403 403 404 - int ISAFUNC(uasm_rel_hi)(long val) 404 + int uasm_rel_hi(long val) 405 405 { 406 406 return ((((val + 0x8000L) >> 16) & 0xffff) ^ 0x8000) - 0x8000; 407 407 } 408 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_rel_hi)); 408 + UASM_EXPORT_SYMBOL(uasm_rel_hi); 409 409 410 - int ISAFUNC(uasm_rel_lo)(long val) 410 + int uasm_rel_lo(long val) 411 411 { 412 412 return ((val & 0xffff) ^ 0x8000) - 0x8000; 413 413 } 414 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_rel_lo)); 414 + UASM_EXPORT_SYMBOL(uasm_rel_lo); 415 415 416 - void ISAFUNC(UASM_i_LA_mostly)(u32 **buf, unsigned int rs, long addr) 416 + void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr) 417 417 { 418 - if (!ISAFUNC(uasm_in_compat_space_p)(addr)) { 419 - ISAFUNC(uasm_i_lui)(buf, rs, uasm_rel_highest(addr)); 418 + if (!uasm_in_compat_space_p(addr)) { 419 + uasm_i_lui(buf, rs, uasm_rel_highest(addr)); 420 420 if (uasm_rel_higher(addr)) 421 - ISAFUNC(uasm_i_daddiu)(buf, rs, rs, uasm_rel_higher(addr)); 422 - if (ISAFUNC(uasm_rel_hi(addr))) { 423 - ISAFUNC(uasm_i_dsll)(buf, rs, rs, 16); 424 - ISAFUNC(uasm_i_daddiu)(buf, rs, rs, 425 - ISAFUNC(uasm_rel_hi)(addr)); 426 - ISAFUNC(uasm_i_dsll)(buf, rs, rs, 16); 421 + uasm_i_daddiu(buf, rs, rs, uasm_rel_higher(addr)); 422 + if (uasm_rel_hi(addr)) { 423 + uasm_i_dsll(buf, rs, rs, 16); 424 + uasm_i_daddiu(buf, rs, rs, 425 + uasm_rel_hi(addr)); 426 + uasm_i_dsll(buf, rs, rs, 16); 427 427 } else 428 - ISAFUNC(uasm_i_dsll32)(buf, rs, rs, 0); 428 + uasm_i_dsll32(buf, rs, rs, 0); 429 429 } else 430 - ISAFUNC(uasm_i_lui)(buf, rs, ISAFUNC(uasm_rel_hi(addr))); 430 + uasm_i_lui(buf, rs, uasm_rel_hi(addr)); 431 431 } 432 - UASM_EXPORT_SYMBOL(ISAFUNC(UASM_i_LA_mostly)); 432 + UASM_EXPORT_SYMBOL(UASM_i_LA_mostly); 433 433 434 - void ISAFUNC(UASM_i_LA)(u32 **buf, unsigned int rs, long addr) 434 + void UASM_i_LA(u32 **buf, unsigned int rs, long addr) 435 435 { 436 - ISAFUNC(UASM_i_LA_mostly)(buf, rs, addr); 437 - if (ISAFUNC(uasm_rel_lo(addr))) { 438 - if (!ISAFUNC(uasm_in_compat_space_p)(addr)) 439 - ISAFUNC(uasm_i_daddiu)(buf, rs, rs, 440 - ISAFUNC(uasm_rel_lo(addr))); 436 + UASM_i_LA_mostly(buf, rs, addr); 437 + if (uasm_rel_lo(addr)) { 438 + if (!uasm_in_compat_space_p(addr)) 439 + uasm_i_daddiu(buf, rs, rs, 440 + uasm_rel_lo(addr)); 441 441 else 442 - ISAFUNC(uasm_i_addiu)(buf, rs, rs, 443 - ISAFUNC(uasm_rel_lo(addr))); 442 + uasm_i_addiu(buf, rs, rs, 443 + uasm_rel_lo(addr)); 444 444 } 445 445 } 446 - UASM_EXPORT_SYMBOL(ISAFUNC(UASM_i_LA)); 446 + UASM_EXPORT_SYMBOL(UASM_i_LA); 447 447 448 448 /* Handle relocations. */ 449 - void ISAFUNC(uasm_r_mips_pc16)(struct uasm_reloc **rel, u32 *addr, int lid) 449 + void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) 450 450 { 451 451 (*rel)->addr = addr; 452 452 (*rel)->type = R_MIPS_PC16; 453 453 (*rel)->lab = lid; 454 454 (*rel)++; 455 455 } 456 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_r_mips_pc16)); 456 + UASM_EXPORT_SYMBOL(uasm_r_mips_pc16); 457 457 458 458 static inline void __resolve_relocs(struct uasm_reloc *rel, 459 459 struct uasm_label *lab); 460 460 461 - void ISAFUNC(uasm_resolve_relocs)(struct uasm_reloc *rel, 461 + void uasm_resolve_relocs(struct uasm_reloc *rel, 462 462 struct uasm_label *lab) 463 463 { 464 464 struct uasm_label *l; ··· 468 468 if (rel->lab == l->lab) 469 469 __resolve_relocs(rel, l); 470 470 } 471 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_resolve_relocs)); 471 + UASM_EXPORT_SYMBOL(uasm_resolve_relocs); 472 472 473 - void ISAFUNC(uasm_move_relocs)(struct uasm_reloc *rel, u32 *first, u32 *end, 473 + void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, 474 474 long off) 475 475 { 476 476 for (; rel->lab != UASM_LABEL_INVALID; rel++) 477 477 if (rel->addr >= first && rel->addr < end) 478 478 rel->addr += off; 479 479 } 480 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_move_relocs)); 480 + UASM_EXPORT_SYMBOL(uasm_move_relocs); 481 481 482 - void ISAFUNC(uasm_move_labels)(struct uasm_label *lab, u32 *first, u32 *end, 482 + void uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, 483 483 long off) 484 484 { 485 485 for (; lab->lab != UASM_LABEL_INVALID; lab++) 486 486 if (lab->addr >= first && lab->addr < end) 487 487 lab->addr += off; 488 488 } 489 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_move_labels)); 489 + UASM_EXPORT_SYMBOL(uasm_move_labels); 490 490 491 - void ISAFUNC(uasm_copy_handler)(struct uasm_reloc *rel, struct uasm_label *lab, 491 + void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab, 492 492 u32 *first, u32 *end, u32 *target) 493 493 { 494 494 long off = (long)(target - first); 495 495 496 496 memcpy(target, first, (end - first) * sizeof(u32)); 497 497 498 - ISAFUNC(uasm_move_relocs(rel, first, end, off)); 499 - ISAFUNC(uasm_move_labels(lab, first, end, off)); 498 + uasm_move_relocs(rel, first, end, off); 499 + uasm_move_labels(lab, first, end, off); 500 500 } 501 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_copy_handler)); 501 + UASM_EXPORT_SYMBOL(uasm_copy_handler); 502 502 503 - int ISAFUNC(uasm_insn_has_bdelay)(struct uasm_reloc *rel, u32 *addr) 503 + int uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr) 504 504 { 505 505 for (; rel->lab != UASM_LABEL_INVALID; rel++) { 506 506 if (rel->addr == addr ··· 511 511 512 512 return 0; 513 513 } 514 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_insn_has_bdelay)); 514 + UASM_EXPORT_SYMBOL(uasm_insn_has_bdelay); 515 515 516 516 /* Convenience functions for labeled branches. */ 517 - void ISAFUNC(uasm_il_bltz)(u32 **p, struct uasm_reloc **r, unsigned int reg, 517 + void uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, 518 518 int lid) 519 519 { 520 520 uasm_r_mips_pc16(r, *p, lid); 521 - ISAFUNC(uasm_i_bltz)(p, reg, 0); 521 + uasm_i_bltz(p, reg, 0); 522 522 } 523 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bltz)); 523 + UASM_EXPORT_SYMBOL(uasm_il_bltz); 524 524 525 - void ISAFUNC(uasm_il_b)(u32 **p, struct uasm_reloc **r, int lid) 525 + void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) 526 526 { 527 527 uasm_r_mips_pc16(r, *p, lid); 528 - ISAFUNC(uasm_i_b)(p, 0); 528 + uasm_i_b(p, 0); 529 529 } 530 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_b)); 530 + UASM_EXPORT_SYMBOL(uasm_il_b); 531 531 532 - void ISAFUNC(uasm_il_beq)(u32 **p, struct uasm_reloc **r, unsigned int r1, 532 + void uasm_il_beq(u32 **p, struct uasm_reloc **r, unsigned int r1, 533 533 unsigned int r2, int lid) 534 534 { 535 535 uasm_r_mips_pc16(r, *p, lid); 536 - ISAFUNC(uasm_i_beq)(p, r1, r2, 0); 536 + uasm_i_beq(p, r1, r2, 0); 537 537 } 538 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_beq)); 538 + UASM_EXPORT_SYMBOL(uasm_il_beq); 539 539 540 - void ISAFUNC(uasm_il_beqz)(u32 **p, struct uasm_reloc **r, unsigned int reg, 540 + void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, 541 541 int lid) 542 542 { 543 543 uasm_r_mips_pc16(r, *p, lid); 544 - ISAFUNC(uasm_i_beqz)(p, reg, 0); 544 + uasm_i_beqz(p, reg, 0); 545 545 } 546 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_beqz)); 546 + UASM_EXPORT_SYMBOL(uasm_il_beqz); 547 547 548 - void ISAFUNC(uasm_il_beqzl)(u32 **p, struct uasm_reloc **r, unsigned int reg, 548 + void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, 549 549 int lid) 550 550 { 551 551 uasm_r_mips_pc16(r, *p, lid); 552 - ISAFUNC(uasm_i_beqzl)(p, reg, 0); 552 + uasm_i_beqzl(p, reg, 0); 553 553 } 554 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_beqzl)); 554 + UASM_EXPORT_SYMBOL(uasm_il_beqzl); 555 555 556 - void ISAFUNC(uasm_il_bne)(u32 **p, struct uasm_reloc **r, unsigned int reg1, 556 + void uasm_il_bne(u32 **p, struct uasm_reloc **r, unsigned int reg1, 557 557 unsigned int reg2, int lid) 558 558 { 559 559 uasm_r_mips_pc16(r, *p, lid); 560 - ISAFUNC(uasm_i_bne)(p, reg1, reg2, 0); 560 + uasm_i_bne(p, reg1, reg2, 0); 561 561 } 562 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bne)); 562 + UASM_EXPORT_SYMBOL(uasm_il_bne); 563 563 564 - void ISAFUNC(uasm_il_bnez)(u32 **p, struct uasm_reloc **r, unsigned int reg, 564 + void uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, 565 565 int lid) 566 566 { 567 567 uasm_r_mips_pc16(r, *p, lid); 568 - ISAFUNC(uasm_i_bnez)(p, reg, 0); 568 + uasm_i_bnez(p, reg, 0); 569 569 } 570 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bnez)); 570 + UASM_EXPORT_SYMBOL(uasm_il_bnez); 571 571 572 - void ISAFUNC(uasm_il_bgezl)(u32 **p, struct uasm_reloc **r, unsigned int reg, 572 + void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, 573 573 int lid) 574 574 { 575 575 uasm_r_mips_pc16(r, *p, lid); 576 - ISAFUNC(uasm_i_bgezl)(p, reg, 0); 576 + uasm_i_bgezl(p, reg, 0); 577 577 } 578 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bgezl)); 578 + UASM_EXPORT_SYMBOL(uasm_il_bgezl); 579 579 580 - void ISAFUNC(uasm_il_bgez)(u32 **p, struct uasm_reloc **r, unsigned int reg, 580 + void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, 581 581 int lid) 582 582 { 583 583 uasm_r_mips_pc16(r, *p, lid); 584 - ISAFUNC(uasm_i_bgez)(p, reg, 0); 584 + uasm_i_bgez(p, reg, 0); 585 585 } 586 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bgez)); 586 + UASM_EXPORT_SYMBOL(uasm_il_bgez); 587 587 588 - void ISAFUNC(uasm_il_bbit0)(u32 **p, struct uasm_reloc **r, unsigned int reg, 588 + void uasm_il_bbit0(u32 **p, struct uasm_reloc **r, unsigned int reg, 589 589 unsigned int bit, int lid) 590 590 { 591 591 uasm_r_mips_pc16(r, *p, lid); 592 - ISAFUNC(uasm_i_bbit0)(p, reg, bit, 0); 592 + uasm_i_bbit0(p, reg, bit, 0); 593 593 } 594 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bbit0)); 594 + UASM_EXPORT_SYMBOL(uasm_il_bbit0); 595 595 596 - void ISAFUNC(uasm_il_bbit1)(u32 **p, struct uasm_reloc **r, unsigned int reg, 596 + void uasm_il_bbit1(u32 **p, struct uasm_reloc **r, unsigned int reg, 597 597 unsigned int bit, int lid) 598 598 { 599 599 uasm_r_mips_pc16(r, *p, lid); 600 - ISAFUNC(uasm_i_bbit1)(p, reg, bit, 0); 600 + uasm_i_bbit1(p, reg, bit, 0); 601 601 } 602 - UASM_EXPORT_SYMBOL(ISAFUNC(uasm_il_bbit1)); 602 + UASM_EXPORT_SYMBOL(uasm_il_bbit1);