1. A method for automatic switching between networks comprising:
receiving, by a wireless access device, an instruction message sent by an intermediate device after a connection between the wireless access device and the intermediate device is established, wherein the instruction message instructs the wireless access device to switch from a currently connected wireless network to a wired network;
connecting, by the wireless access device, the wired network through the intermediate device and breaking the connection with the wireless network according to the instruction message; and
switching, by the wireless access device, from the wired network to the wireless network when the connection between the wireless access device and the wired network is broken.
2. The method according to claim 1, wherein connecting the wired network through the intermediate device comprises:
having, by the wireless access device and the intermediate device, a corresponding virtual port;
mounting, by the wireless access device, the virtual port as a wide area network (WAN) side interface to an Internet Protocol (IP) layer;
setting, by the wireless access device, output interfaces of a current route configuration, a firewall, a domain name server (DNS), and a network address translation (NAT) as the virtual port;
obtaining, by the wireless access device, a private network IP address from a home gateway; and
accessing through the intermediate device and the home gateway, by the wireless access device, the wired network which is connected to the home gateway according to the private network IP address.
3. The method according to claim 2, wherein switching the wireless access device from the wired network to the wireless network comprises:
switching, by the wireless access device, the virtual port from a WAN side to a local area network (LAN) side, mounting the virtual port under a network bridge, and starting its wireless interface as the WAN side interface;
setting, by the wireless access device, the output interfaces of the current route configuration, the firewall, the DNS, and the NAT as the wireless port;
sending, by the wireless access device, to the home gateway a request of releasing the private network IP address to make the home gateway release the private network IP address; and
establishing, by the wireless access device, the connection with the wireless network.
4. The method according to claim 1, wherein connecting the wired network through the intermediate device comprises:
having, by the wireless access device and the intermediate device, a corresponding virtual port;
mounting, by the wireless access device, the virtual port as a wide area network (WAN) side interface to an IP layer;
setting, by the wireless access device, output interfaces of a current route configuration, a firewall, a DNS, and a NAT as the virtual port;
obtaining, by the wireless access device, a private network IP address from the intermediate device; and
accessing, by the wireless access device, the wired network according to the private network IP address through the intermediate device after a Point-to-Point Protocol over Ethernet (PPPOE) dialing connection between the intermediate device and the wired network is established.
5. The method according to claim 4, wherein switching the wireless access device from the wired network to the wireless network comprises:
switching, by the wireless access device, the virtual port from a WAN side to a LAN side, mounting the virtual port under a network bridge, and starting its wireless interface as the WAN side interface;
setting, by the wireless access device, the output interfaces of the current route configuration, the firewall, the DNS, and the NAT as the wireless port;
sending, by the wireless access device, to the intermediate device a request of releasing the private network IP address to make the intermediate device release the private network IP address; and
establishing, by the wireless access device, the connection with the wireless network, after the PPPOE dialing connection between the intermediate device and the wired network is broken.
6. A wireless access device comprising:
a receiving module configured to receive an instruction message sent by an intermediate device after a connection between the wireless access device and the intermediate device is established, wherein the instruction message instructs the wireless access device to switch from a currently connected wireless network to a wired network;
a first switching module configured to connect the wired network through the intermediate device and break the connection with the wireless network according to the instruction message; and
a second switching module configured to switch from the wired network to the wireless network when the connection between the wireless access device and the wired network is interrupted.
7. The wireless access device according to claim 6, wherein the wireless access device has a virtual port corresponding to the intermediate device, and wherein the first switching module is configured to mount the virtual port as a WAN side interface to an IP layer, set output interfaces of a current route configuration, a firewall, a DNS, and a NAT as the virtual port, obtain a private network IP address from a home gateway, and access a wired network which is connected to the home gateway through the intermediate device and the home gateway according to the private network IP address.
8. The wireless access device according to claim 7, wherein the second switching module is configured to switch the virtual port from a WAN side to a LAN side, mount the virtual port under a network bridge, start its wireless interface as the WAN side interface, set the output interfaces of the current route configuration, the firewall, the DNS, and the NAT as the wireless interface, and send to the home gateway a request of releasing the private network IP address to make the home gateway release the private network IP address and establish a connection with the wireless network.
9. The wireless access device according to claim 6, wherein the wireless access device has a virtual port corresponding to the intermediate device, and wherein the first switching module is configured to mount the virtual port as a WAN side interface to an IP layer, set output interfaces of a current route configuration, a firewall, a DNS, and a NAT as the virtual port, obtain a private network IP address from the intermediate device, and access the wired network through the intermediate device according to the private network IP address after a PPPOE dialing connection between the intermediate device and the wired network is established.
10. The wireless access device according to claim 9, wherein the second switching module is configured to switch the virtual port from a WAN side to a LAN side, mount the virtual port under a network bridge, start its wireless interface as the WAN side interface, set the output interfaces of the current route configuration, the firewall, the DNS, and the NAT as the wireless interface, send to the intermediate device a request of releasing the private network IP address to make the intermediate device release the private network IP address, and establish a connection with the wireless network after the PPOE dialing connection between the intermediate device and the wired network is broken.
11. An intermediate device comprising:
a first interface module that establishes a connection between the intermediate device and a wireless access device through the first interface module; and
an instruction message sending module configured to send an instruction message to the wireless access device through the first interface module and instruct the wireless access device to switch from a currently connected wireless network to a wired network after the connection between the intermediate device and the wireless device is established.
12. The intermediate device according to claim 11, further comprising a second interface module, wherein the intermediate device establishes a connection with a home gateway through the second interface module, and wherein the home gateway is connected to the wired network.
13. The intermediate device according to claim 11, further comprising a third interface module, and wherein the intermediate device establishes a connection with the wired network through the third interface module.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method, comprising:
determining that an instruction comprises a scalar instruction; and
processing the instruction using only a lower portion of an XMM register of a processor.
2. The method of claim 1, wherein determining that the instruction comprises the scalar instruction further comprises determining that the instruction comprises a single-precision scalar instruction.
3. The method of claim 2, wherein determining that the instruction comprises a single-precision scalar instruction comprises determining that the single-precision scalar instruction is one of a group of single-precision scalar instructions identified as potentially producing false dependencies.
4. The method of claim 1, further comprising not processing an upper portion of the XMM register thereby saving power in at least one execution unit.
5. The method of claim 1, wherein determining that the instruction comprises the scalar instruction further comprises determining that the instruction comprises a double-precision scalar instruction
6. The method of claim 5, wherein determining that the instruction comprises a double-precision scalar instruction comprises determining that the double-precision scalar instruction is one of a group of double-precision scalar instructions potentially producing false dependencies.
7. The method of claim 1, further comprising setting an indication that the instruction comprises the scalar instruction responsive to determining that the instruction comprises the scalar instruction.
8. A method, comprising:
determining that an instruction comprises a scalar instruction; and
breaking false dependencies during execution of the scalar instruction via processing only a portion of an XMM register storing an operand of the scalar instruction.
9. The method of claim 8, wherein breaking false dependencies during execution of the scalar instruction via processing only a portion of the XMM register further comprises processing only non-logic zero portions of the XMM register.
10. The method of claim 8, further comprising not processing an upper portion of the XMM register thereby saving power in at least one execution unit.
11. The method of claim 8, wherein determining that an instruction comprises a scalar instruction further determining that the instruction comprises one of a group of scalar instructions potentially producing false dependencies.
12. A processor, comprising:
execution units for processing a scalar instruction using only a lower portion of an XMM register of the processor responsive to a determination that the instruction comprises a scalar instruction.
13. The processor of claim 12, further comprising a unit having an indication whether the instruction comprises the scalar instruction.
14. The processor of claim 13, wherein the execution units process only a non-logic zero portion of the XMM register when the indication indicates a scalar instruction.
15. The processor of claim 13, wherein the execution units process all bits of the XMM register responsive to a determination that the instruction does not comprise a scalar instruction.
16. A device comprising the processor of claim 12, the device comprising at least one of a group consisting of: a computer; a digital book; a printer; a scanner; a television; a mobile telephony device; or a set-top box.
17. A processor, comprising:
execution units for processing a scalar instruction using only a lower portion of an XMM register of the processor responsive to a determination that the scalar instruction potentially produces the false dependency;
wherein, the false dependency is eliminated.
18. The processor of claim 17, wherein the execution units process only a non-logic zero portion of the XMM register when the indication indicates the scalar instruction potentially produces the false dependency.
19. The processor of claim 18, wherein the execution units process all bits of the XMM register when the indication indicates a non-scalar instruction.
20. A device comprising the processor of claim 17, the device comprising at least one of a group consisting of: a computer; a digital book; a printer; a scanner; a television; a mobile telephony device; or a set-top box.