octeon_switch.S 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle
  7. * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  8. * Copyright (C) 1994, 1995, 1996, by Andreas Busse
  9. * Copyright (C) 1999 Silicon Graphics, Inc.
  10. * Copyright (C) 2000 MIPS Technologies, Inc.
  11. * written by Carsten Langgaard, carstenl@mips.com
  12. */
  13. #include <asm/asm.h>
  14. #include <asm/cachectl.h>
  15. #include <asm/fpregdef.h>
  16. #include <asm/mipsregs.h>
  17. #include <asm/asm-offsets.h>
  18. #include <asm/pgtable-bits.h>
  19. #include <asm/regdef.h>
  20. #include <asm/stackframe.h>
  21. #include <asm/thread_info.h>
  22. #include <asm/asmmacro.h>
  23. /*
  24. * Offset to the current process status flags, the first 32 bytes of the
  25. * stack are not used.
  26. */
  27. #define ST_OFF (_THREAD_SIZE - 32 - PT_SIZE + PT_STATUS)
  28. /*
  29. * task_struct *resume(task_struct *prev, task_struct *next,
  30. * struct thread_info *next_ti, int usedfpu)
  31. */
  32. .align 7
  33. LEAF(resume)
  34. .set arch=octeon
  35. mfc0 t1, CP0_STATUS
  36. LONG_S t1, THREAD_STATUS(a0)
  37. cpu_save_nonscratch a0
  38. LONG_S ra, THREAD_REG31(a0)
  39. #if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
  40. /* Check if we need to store CVMSEG state */
  41. mfc0 t0, $11,7 /* CvmMemCtl */
  42. bbit0 t0, 6, 3f /* Is user access enabled? */
  43. /* Store the CVMSEG state */
  44. /* Extract the size of CVMSEG */
  45. andi t0, 0x3f
  46. /* Multiply * (cache line size/sizeof(long)/2) */
  47. sll t0, 7-LONGLOG-1
  48. li t1, -32768 /* Base address of CVMSEG */
  49. LONG_ADDI t2, a0, THREAD_CVMSEG /* Where to store CVMSEG to */
  50. synciobdma
  51. 2:
  52. .set noreorder
  53. LONG_L t8, 0(t1) /* Load from CVMSEG */
  54. subu t0, 1 /* Decrement loop var */
  55. LONG_L t9, LONGSIZE(t1)/* Load from CVMSEG */
  56. LONG_ADDU t1, LONGSIZE*2 /* Increment loc in CVMSEG */
  57. LONG_S t8, 0(t2) /* Store CVMSEG to thread storage */
  58. LONG_ADDU t2, LONGSIZE*2 /* Increment loc in thread storage */
  59. bnez t0, 2b /* Loop until we've copied it all */
  60. LONG_S t9, -LONGSIZE(t2)/* Store CVMSEG to thread storage */
  61. .set reorder
  62. /* Disable access to CVMSEG */
  63. mfc0 t0, $11,7 /* CvmMemCtl */
  64. xori t0, t0, 0x40 /* Bit 6 is CVMSEG user enable */
  65. mtc0 t0, $11,7 /* CvmMemCtl */
  66. #endif
  67. 3:
  68. /*
  69. * The order of restoring the registers takes care of the race
  70. * updating $28, $29 and kernelsp without disabling ints.
  71. */
  72. move $28, a2
  73. cpu_restore_nonscratch a1
  74. #if (_THREAD_SIZE - 32) < 0x8000
  75. PTR_ADDIU t0, $28, _THREAD_SIZE - 32
  76. #else
  77. PTR_LI t0, _THREAD_SIZE - 32
  78. PTR_ADDU t0, $28
  79. #endif
  80. set_saved_sp t0, t1, t2
  81. mfc0 t1, CP0_STATUS /* Do we really need this? */
  82. li a3, 0xff01
  83. and t1, a3
  84. LONG_L a2, THREAD_STATUS(a1)
  85. nor a3, $0, a3
  86. and a2, a3
  87. or a2, t1
  88. mtc0 a2, CP0_STATUS
  89. move v0, a0
  90. jr ra
  91. END(resume)
  92. /*
  93. * void octeon_cop2_save(struct octeon_cop2_state *a0)
  94. */
  95. .align 7
  96. LEAF(octeon_cop2_save)
  97. dmfc0 t9, $9,7 /* CvmCtl register. */
  98. /* Save the COP2 CRC state */
  99. dmfc2 t0, 0x0201
  100. dmfc2 t1, 0x0202
  101. dmfc2 t2, 0x0200
  102. sd t0, OCTEON_CP2_CRC_IV(a0)
  103. sd t1, OCTEON_CP2_CRC_LENGTH(a0)
  104. sd t2, OCTEON_CP2_CRC_POLY(a0)
  105. /* Skip next instructions if CvmCtl[NODFA_CP2] set */
  106. bbit1 t9, 28, 1f
  107. /* Save the LLM state */
  108. dmfc2 t0, 0x0402
  109. dmfc2 t1, 0x040A
  110. sd t0, OCTEON_CP2_LLM_DAT(a0)
  111. sd t1, OCTEON_CP2_LLM_DAT+8(a0)
  112. 1: bbit1 t9, 26, 3f /* done if CvmCtl[NOCRYPTO] set */
  113. /* Save the COP2 crypto state */
  114. /* this part is mostly common to both pass 1 and later revisions */
  115. dmfc2 t0, 0x0084
  116. dmfc2 t1, 0x0080
  117. dmfc2 t2, 0x0081
  118. dmfc2 t3, 0x0082
  119. sd t0, OCTEON_CP2_3DES_IV(a0)
  120. dmfc2 t0, 0x0088
  121. sd t1, OCTEON_CP2_3DES_KEY(a0)
  122. dmfc2 t1, 0x0111 /* only necessary for pass 1 */
  123. sd t2, OCTEON_CP2_3DES_KEY+8(a0)
  124. dmfc2 t2, 0x0102
  125. sd t3, OCTEON_CP2_3DES_KEY+16(a0)
  126. dmfc2 t3, 0x0103
  127. sd t0, OCTEON_CP2_3DES_RESULT(a0)
  128. dmfc2 t0, 0x0104
  129. sd t1, OCTEON_CP2_AES_INP0(a0) /* only necessary for pass 1 */
  130. dmfc2 t1, 0x0105
  131. sd t2, OCTEON_CP2_AES_IV(a0)
  132. dmfc2 t2, 0x0106
  133. sd t3, OCTEON_CP2_AES_IV+8(a0)
  134. dmfc2 t3, 0x0107
  135. sd t0, OCTEON_CP2_AES_KEY(a0)
  136. dmfc2 t0, 0x0110
  137. sd t1, OCTEON_CP2_AES_KEY+8(a0)
  138. dmfc2 t1, 0x0100
  139. sd t2, OCTEON_CP2_AES_KEY+16(a0)
  140. dmfc2 t2, 0x0101
  141. sd t3, OCTEON_CP2_AES_KEY+24(a0)
  142. mfc0 t3, $15,0 /* Get the processor ID register */
  143. sd t0, OCTEON_CP2_AES_KEYLEN(a0)
  144. li t0, 0x000d0000 /* This is the processor ID of Octeon Pass1 */
  145. sd t1, OCTEON_CP2_AES_RESULT(a0)
  146. sd t2, OCTEON_CP2_AES_RESULT+8(a0)
  147. /* Skip to the Pass1 version of the remainder of the COP2 state */
  148. beq t3, t0, 2f
  149. /* the non-pass1 state when !CvmCtl[NOCRYPTO] */
  150. dmfc2 t1, 0x0240
  151. dmfc2 t2, 0x0241
  152. dmfc2 t3, 0x0242
  153. dmfc2 t0, 0x0243
  154. sd t1, OCTEON_CP2_HSH_DATW(a0)
  155. dmfc2 t1, 0x0244
  156. sd t2, OCTEON_CP2_HSH_DATW+8(a0)
  157. dmfc2 t2, 0x0245
  158. sd t3, OCTEON_CP2_HSH_DATW+16(a0)
  159. dmfc2 t3, 0x0246
  160. sd t0, OCTEON_CP2_HSH_DATW+24(a0)
  161. dmfc2 t0, 0x0247
  162. sd t1, OCTEON_CP2_HSH_DATW+32(a0)
  163. dmfc2 t1, 0x0248
  164. sd t2, OCTEON_CP2_HSH_DATW+40(a0)
  165. dmfc2 t2, 0x0249
  166. sd t3, OCTEON_CP2_HSH_DATW+48(a0)
  167. dmfc2 t3, 0x024A
  168. sd t0, OCTEON_CP2_HSH_DATW+56(a0)
  169. dmfc2 t0, 0x024B
  170. sd t1, OCTEON_CP2_HSH_DATW+64(a0)
  171. dmfc2 t1, 0x024C
  172. sd t2, OCTEON_CP2_HSH_DATW+72(a0)
  173. dmfc2 t2, 0x024D
  174. sd t3, OCTEON_CP2_HSH_DATW+80(a0)
  175. dmfc2 t3, 0x024E
  176. sd t0, OCTEON_CP2_HSH_DATW+88(a0)
  177. dmfc2 t0, 0x0250
  178. sd t1, OCTEON_CP2_HSH_DATW+96(a0)
  179. dmfc2 t1, 0x0251
  180. sd t2, OCTEON_CP2_HSH_DATW+104(a0)
  181. dmfc2 t2, 0x0252
  182. sd t3, OCTEON_CP2_HSH_DATW+112(a0)
  183. dmfc2 t3, 0x0253
  184. sd t0, OCTEON_CP2_HSH_IVW(a0)
  185. dmfc2 t0, 0x0254
  186. sd t1, OCTEON_CP2_HSH_IVW+8(a0)
  187. dmfc2 t1, 0x0255
  188. sd t2, OCTEON_CP2_HSH_IVW+16(a0)
  189. dmfc2 t2, 0x0256
  190. sd t3, OCTEON_CP2_HSH_IVW+24(a0)
  191. dmfc2 t3, 0x0257
  192. sd t0, OCTEON_CP2_HSH_IVW+32(a0)
  193. dmfc2 t0, 0x0258
  194. sd t1, OCTEON_CP2_HSH_IVW+40(a0)
  195. dmfc2 t1, 0x0259
  196. sd t2, OCTEON_CP2_HSH_IVW+48(a0)
  197. dmfc2 t2, 0x025E
  198. sd t3, OCTEON_CP2_HSH_IVW+56(a0)
  199. dmfc2 t3, 0x025A
  200. sd t0, OCTEON_CP2_GFM_MULT(a0)
  201. dmfc2 t0, 0x025B
  202. sd t1, OCTEON_CP2_GFM_MULT+8(a0)
  203. sd t2, OCTEON_CP2_GFM_POLY(a0)
  204. sd t3, OCTEON_CP2_GFM_RESULT(a0)
  205. sd t0, OCTEON_CP2_GFM_RESULT+8(a0)
  206. jr ra
  207. 2: /* pass 1 special stuff when !CvmCtl[NOCRYPTO] */
  208. dmfc2 t3, 0x0040
  209. dmfc2 t0, 0x0041
  210. dmfc2 t1, 0x0042
  211. dmfc2 t2, 0x0043
  212. sd t3, OCTEON_CP2_HSH_DATW(a0)
  213. dmfc2 t3, 0x0044
  214. sd t0, OCTEON_CP2_HSH_DATW+8(a0)
  215. dmfc2 t0, 0x0045
  216. sd t1, OCTEON_CP2_HSH_DATW+16(a0)
  217. dmfc2 t1, 0x0046
  218. sd t2, OCTEON_CP2_HSH_DATW+24(a0)
  219. dmfc2 t2, 0x0048
  220. sd t3, OCTEON_CP2_HSH_DATW+32(a0)
  221. dmfc2 t3, 0x0049
  222. sd t0, OCTEON_CP2_HSH_DATW+40(a0)
  223. dmfc2 t0, 0x004A
  224. sd t1, OCTEON_CP2_HSH_DATW+48(a0)
  225. sd t2, OCTEON_CP2_HSH_IVW(a0)
  226. sd t3, OCTEON_CP2_HSH_IVW+8(a0)
  227. sd t0, OCTEON_CP2_HSH_IVW+16(a0)
  228. 3: /* pass 1 or CvmCtl[NOCRYPTO] set */
  229. jr ra
  230. END(octeon_cop2_save)
  231. /*
  232. * void octeon_cop2_restore(struct octeon_cop2_state *a0)
  233. */
  234. .align 7
  235. .set push
  236. .set noreorder
  237. LEAF(octeon_cop2_restore)
  238. /* First cache line was prefetched before the call */
  239. pref 4, 128(a0)
  240. dmfc0 t9, $9,7 /* CvmCtl register. */
  241. pref 4, 256(a0)
  242. ld t0, OCTEON_CP2_CRC_IV(a0)
  243. pref 4, 384(a0)
  244. ld t1, OCTEON_CP2_CRC_LENGTH(a0)
  245. ld t2, OCTEON_CP2_CRC_POLY(a0)
  246. /* Restore the COP2 CRC state */
  247. dmtc2 t0, 0x0201
  248. dmtc2 t1, 0x1202
  249. bbit1 t9, 28, 2f /* Skip LLM if CvmCtl[NODFA_CP2] is set */
  250. dmtc2 t2, 0x4200
  251. /* Restore the LLM state */
  252. ld t0, OCTEON_CP2_LLM_DAT(a0)
  253. ld t1, OCTEON_CP2_LLM_DAT+8(a0)
  254. dmtc2 t0, 0x0402
  255. dmtc2 t1, 0x040A
  256. 2:
  257. bbit1 t9, 26, done_restore /* done if CvmCtl[NOCRYPTO] set */
  258. nop
  259. /* Restore the COP2 crypto state common to pass 1 and pass 2 */
  260. ld t0, OCTEON_CP2_3DES_IV(a0)
  261. ld t1, OCTEON_CP2_3DES_KEY(a0)
  262. ld t2, OCTEON_CP2_3DES_KEY+8(a0)
  263. dmtc2 t0, 0x0084
  264. ld t0, OCTEON_CP2_3DES_KEY+16(a0)
  265. dmtc2 t1, 0x0080
  266. ld t1, OCTEON_CP2_3DES_RESULT(a0)
  267. dmtc2 t2, 0x0081
  268. ld t2, OCTEON_CP2_AES_INP0(a0) /* only really needed for pass 1 */
  269. dmtc2 t0, 0x0082
  270. ld t0, OCTEON_CP2_AES_IV(a0)
  271. dmtc2 t1, 0x0098
  272. ld t1, OCTEON_CP2_AES_IV+8(a0)
  273. dmtc2 t2, 0x010A /* only really needed for pass 1 */
  274. ld t2, OCTEON_CP2_AES_KEY(a0)
  275. dmtc2 t0, 0x0102
  276. ld t0, OCTEON_CP2_AES_KEY+8(a0)
  277. dmtc2 t1, 0x0103
  278. ld t1, OCTEON_CP2_AES_KEY+16(a0)
  279. dmtc2 t2, 0x0104
  280. ld t2, OCTEON_CP2_AES_KEY+24(a0)
  281. dmtc2 t0, 0x0105
  282. ld t0, OCTEON_CP2_AES_KEYLEN(a0)
  283. dmtc2 t1, 0x0106
  284. ld t1, OCTEON_CP2_AES_RESULT(a0)
  285. dmtc2 t2, 0x0107
  286. ld t2, OCTEON_CP2_AES_RESULT+8(a0)
  287. mfc0 t3, $15,0 /* Get the processor ID register */
  288. dmtc2 t0, 0x0110
  289. li t0, 0x000d0000 /* This is the processor ID of Octeon Pass1 */
  290. dmtc2 t1, 0x0100
  291. bne t0, t3, 3f /* Skip the next stuff for non-pass1 */
  292. dmtc2 t2, 0x0101
  293. /* this code is specific for pass 1 */
  294. ld t0, OCTEON_CP2_HSH_DATW(a0)
  295. ld t1, OCTEON_CP2_HSH_DATW+8(a0)
  296. ld t2, OCTEON_CP2_HSH_DATW+16(a0)
  297. dmtc2 t0, 0x0040
  298. ld t0, OCTEON_CP2_HSH_DATW+24(a0)
  299. dmtc2 t1, 0x0041
  300. ld t1, OCTEON_CP2_HSH_DATW+32(a0)
  301. dmtc2 t2, 0x0042
  302. ld t2, OCTEON_CP2_HSH_DATW+40(a0)
  303. dmtc2 t0, 0x0043
  304. ld t0, OCTEON_CP2_HSH_DATW+48(a0)
  305. dmtc2 t1, 0x0044
  306. ld t1, OCTEON_CP2_HSH_IVW(a0)
  307. dmtc2 t2, 0x0045
  308. ld t2, OCTEON_CP2_HSH_IVW+8(a0)
  309. dmtc2 t0, 0x0046
  310. ld t0, OCTEON_CP2_HSH_IVW+16(a0)
  311. dmtc2 t1, 0x0048
  312. dmtc2 t2, 0x0049
  313. b done_restore /* unconditional branch */
  314. dmtc2 t0, 0x004A
  315. 3: /* this is post-pass1 code */
  316. ld t2, OCTEON_CP2_HSH_DATW(a0)
  317. ld t0, OCTEON_CP2_HSH_DATW+8(a0)
  318. ld t1, OCTEON_CP2_HSH_DATW+16(a0)
  319. dmtc2 t2, 0x0240
  320. ld t2, OCTEON_CP2_HSH_DATW+24(a0)
  321. dmtc2 t0, 0x0241
  322. ld t0, OCTEON_CP2_HSH_DATW+32(a0)
  323. dmtc2 t1, 0x0242
  324. ld t1, OCTEON_CP2_HSH_DATW+40(a0)
  325. dmtc2 t2, 0x0243
  326. ld t2, OCTEON_CP2_HSH_DATW+48(a0)
  327. dmtc2 t0, 0x0244
  328. ld t0, OCTEON_CP2_HSH_DATW+56(a0)
  329. dmtc2 t1, 0x0245
  330. ld t1, OCTEON_CP2_HSH_DATW+64(a0)
  331. dmtc2 t2, 0x0246
  332. ld t2, OCTEON_CP2_HSH_DATW+72(a0)
  333. dmtc2 t0, 0x0247
  334. ld t0, OCTEON_CP2_HSH_DATW+80(a0)
  335. dmtc2 t1, 0x0248
  336. ld t1, OCTEON_CP2_HSH_DATW+88(a0)
  337. dmtc2 t2, 0x0249
  338. ld t2, OCTEON_CP2_HSH_DATW+96(a0)
  339. dmtc2 t0, 0x024A
  340. ld t0, OCTEON_CP2_HSH_DATW+104(a0)
  341. dmtc2 t1, 0x024B
  342. ld t1, OCTEON_CP2_HSH_DATW+112(a0)
  343. dmtc2 t2, 0x024C
  344. ld t2, OCTEON_CP2_HSH_IVW(a0)
  345. dmtc2 t0, 0x024D
  346. ld t0, OCTEON_CP2_HSH_IVW+8(a0)
  347. dmtc2 t1, 0x024E
  348. ld t1, OCTEON_CP2_HSH_IVW+16(a0)
  349. dmtc2 t2, 0x0250
  350. ld t2, OCTEON_CP2_HSH_IVW+24(a0)
  351. dmtc2 t0, 0x0251
  352. ld t0, OCTEON_CP2_HSH_IVW+32(a0)
  353. dmtc2 t1, 0x0252
  354. ld t1, OCTEON_CP2_HSH_IVW+40(a0)
  355. dmtc2 t2, 0x0253
  356. ld t2, OCTEON_CP2_HSH_IVW+48(a0)
  357. dmtc2 t0, 0x0254
  358. ld t0, OCTEON_CP2_HSH_IVW+56(a0)
  359. dmtc2 t1, 0x0255
  360. ld t1, OCTEON_CP2_GFM_MULT(a0)
  361. dmtc2 t2, 0x0256
  362. ld t2, OCTEON_CP2_GFM_MULT+8(a0)
  363. dmtc2 t0, 0x0257
  364. ld t0, OCTEON_CP2_GFM_POLY(a0)
  365. dmtc2 t1, 0x0258
  366. ld t1, OCTEON_CP2_GFM_RESULT(a0)
  367. dmtc2 t2, 0x0259
  368. ld t2, OCTEON_CP2_GFM_RESULT+8(a0)
  369. dmtc2 t0, 0x025E
  370. dmtc2 t1, 0x025A
  371. dmtc2 t2, 0x025B
  372. done_restore:
  373. jr ra
  374. nop
  375. END(octeon_cop2_restore)
  376. .set pop
  377. /*
  378. * void octeon_mult_save()
  379. * sp is assumed to point to a struct pt_regs
  380. *
  381. * NOTE: This is called in SAVE_SOME in stackframe.h. It can only
  382. * safely modify k0 and k1.
  383. */
  384. .align 7
  385. .set push
  386. .set noreorder
  387. LEAF(octeon_mult_save)
  388. dmfc0 k0, $9,7 /* CvmCtl register. */
  389. bbit1 k0, 27, 1f /* Skip CvmCtl[NOMUL] */
  390. nop
  391. /* Save the multiplier state */
  392. v3mulu k0, $0, $0
  393. v3mulu k1, $0, $0
  394. sd k0, PT_MTP(sp) /* PT_MTP has P0 */
  395. v3mulu k0, $0, $0
  396. sd k1, PT_MTP+8(sp) /* PT_MTP+8 has P1 */
  397. ori k1, $0, 1
  398. v3mulu k1, k1, $0
  399. sd k0, PT_MTP+16(sp) /* PT_MTP+16 has P2 */
  400. v3mulu k0, $0, $0
  401. sd k1, PT_MPL(sp) /* PT_MPL has MPL0 */
  402. v3mulu k1, $0, $0
  403. sd k0, PT_MPL+8(sp) /* PT_MPL+8 has MPL1 */
  404. jr ra
  405. sd k1, PT_MPL+16(sp) /* PT_MPL+16 has MPL2 */
  406. 1: /* Resume here if CvmCtl[NOMUL] */
  407. jr ra
  408. END(octeon_mult_save)
  409. .set pop
  410. /*
  411. * void octeon_mult_restore()
  412. * sp is assumed to point to a struct pt_regs
  413. *
  414. * NOTE: This is called in RESTORE_SOME in stackframe.h.
  415. */
  416. .align 7
  417. .set push
  418. .set noreorder
  419. LEAF(octeon_mult_restore)
  420. dmfc0 k1, $9,7 /* CvmCtl register. */
  421. ld v0, PT_MPL(sp) /* MPL0 */
  422. ld v1, PT_MPL+8(sp) /* MPL1 */
  423. ld k0, PT_MPL+16(sp) /* MPL2 */
  424. bbit1 k1, 27, 1f /* Skip CvmCtl[NOMUL] */
  425. /* Normally falls through, so no time wasted here */
  426. nop
  427. /* Restore the multiplier state */
  428. ld k1, PT_MTP+16(sp) /* P2 */
  429. MTM0 v0 /* MPL0 */
  430. ld v0, PT_MTP+8(sp) /* P1 */
  431. MTM1 v1 /* MPL1 */
  432. ld v1, PT_MTP(sp) /* P0 */
  433. MTM2 k0 /* MPL2 */
  434. MTP2 k1 /* P2 */
  435. MTP1 v0 /* P1 */
  436. jr ra
  437. MTP0 v1 /* P0 */
  438. 1: /* Resume here if CvmCtl[NOMUL] */
  439. jr ra
  440. nop
  441. END(octeon_mult_restore)
  442. .set pop