Bill Buzbee | 7c58bd4 | 2016-01-20 20:46:01 +0000 | [diff] [blame] | 1 | %default { "is_object":"0" } |
| 2 | /* for move, move-object, long-to-int */ |
| 3 | /* op vA, vB */ |
| 4 | movzbl rINSTbl, %eax # eax <- BA |
| 5 | andb $$0xf, %al # eax <- A |
| 6 | shrl $$4, rINST # rINST <- B |
Serguei Katkov | 05dfaaa | 2016-01-28 08:21:26 +0600 | [diff] [blame] | 7 | GET_VREG rINST, rINST |
Bill Buzbee | 7c58bd4 | 2016-01-20 20:46:01 +0000 | [diff] [blame] | 8 | .if $is_object |
Serguei Katkov | 05dfaaa | 2016-01-28 08:21:26 +0600 | [diff] [blame] | 9 | SET_VREG_OBJECT rINST, %eax # fp[A] <- fp[B] |
Bill Buzbee | 7c58bd4 | 2016-01-20 20:46:01 +0000 | [diff] [blame] | 10 | .else |
Serguei Katkov | 05dfaaa | 2016-01-28 08:21:26 +0600 | [diff] [blame] | 11 | SET_VREG rINST, %eax # fp[A] <- fp[B] |
Bill Buzbee | 7c58bd4 | 2016-01-20 20:46:01 +0000 | [diff] [blame] | 12 | .endif |
| 13 | ADVANCE_PC_FETCH_AND_GOTO_NEXT 1 |