m5op_x86.S (12459:e1484770f671) | m5op_x86.S (12464:a02f2484c710) |
---|---|
1/* 2 * Copyright (c) 2003-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 44 unchanged lines hidden (view full) --- 53 .func name; \ 54name: \ 55 mov m5_mem, %r11; \ 56 mov $number, %rax; \ 57 shl $8, %rax; \ 58 mov 0(%r11, %rax, 1), %rax; \ 59 ret; \ 60 .endfunc; | 1/* 2 * Copyright (c) 2003-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 44 unchanged lines hidden (view full) --- 53 .func name; \ 54name: \ 55 mov m5_mem, %r11; \ 56 mov $number, %rax; \ 57 shl $8, %rax; \ 58 mov 0(%r11, %rax, 1), %rax; \ 59 ret; \ 60 .endfunc; |
61 |
|
61#else 62/* Use the magic instruction based m5op interface. This does not work 63 * in virtualized environments. 64 */ 65 66#define TWO_BYTE_OP(name, number) \ 67 .globl name; \ 68 .func name; \ --- 32 unchanged lines hidden --- | 62#else 63/* Use the magic instruction based m5op interface. This does not work 64 * in virtualized environments. 65 */ 66 67#define TWO_BYTE_OP(name, number) \ 68 .globl name; \ 69 .func name; \ --- 32 unchanged lines hidden --- |